Am 22.09.2020 um 14:46 schrieb dano none via fpc-pascal:
end;
my_base := my_base + 15;
writeln('current base ',my_base:2);
ch := ReadKey;
{ end; { end i = column indexer }}
The bottom three statements will only be executed as part of the
El 23/9/20 a les 17:38, Santiago A. via fpc-pascal ha escrit:
El 23/09/2020 a las 13:54, Luca Olivetti via fpc-pascal escribió:
Hello,
I just compiled a lazarus project made in 2105 with fpc 3.2.0 and,
while it works here, it fails when the customer runs it.
What does "it fails" mean?
Any er
Nevermind, I checked with -s -a and the generated assembler is the same, with
or without the ';'
Bye
--
Luca
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
El 23/09/2020 a las 13:54, Luca Olivetti via fpc-pascal escribió:
Hello,
I just compiled a lazarus project made in 2105 with fpc 3.2.0 and,
while it works here, it fails when the customer runs it.
What does "it fails" mean?
Any error message? Sigfault?
--
Saludos
Santiago A.
__
On 9/22/2020 5:46 AM, dano none via fpc-pascal wrote:
I have a basic shuffle routine. I put being, end statements in the outer loop
for clarification.
It ended up producing random results.
Commenting out the begin, end combination allows the code to run as expected.
My code is below, can someone
On Wed, Sep 23, 2020 at 4:25 PM dano none via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> end;
> my_base := my_base + 15;
> writeln('current base ',my_base:2);
> ch := ReadKey;
> { end; { end i = column indexer }}
>
A different way
On 2020-09-22 14:46, dano none via fpc-pascal wrote:
Hello,
I have a basic shuffle routine. I put being, end statements in the
outer loop for clarification.
It ended up producing random results.
Commenting out the begin, end combination allows the code to run as
expected.
My code is below, c
On Wed, Sep 23, 2020 at 4:25 PM dano none via fpc-pascal
wrote:
for i := start to stop do
for j := start2 to stop 2 do CompoundStatement
if functionally the same as
for i := start to stop do
begin
for j := start2 to stop 2 do CompoundStatement
end;
A Compound Statement is a statement that c
I have a basic shuffle routine. I put being, end statements in the outer loop
for clarification.
It ended up producing random results.
Commenting out the begin, end combination allows the code to run as expected.
My code is below, can someone tell me if the begin, end combination should
actually
I did more than that, I created a DLL that simulates the hardware (it's a
phidget I/O board) and it works perfectly, both with the old and the new
executable.
Thank you for the idea.
Bye
--
Luca
23 sept. 2020 15:33:05 Michael Van Canneyt :
> On Wed, 23 Sep 2020, Luca Olivetti via fpc-pascal wr
On Wed, 23 Sep 2020, Luca Olivetti via fpc-pascal wrote:
But I don't have the hardware managed by the DLL so the callbacks are never
called here.
Can't you create a stub DLL to test?
it doesn't need to do anything, just log the params maybe...
Michael.
___
But I don't have the hardware managed by the DLL so the callbacks are never
called here.
Bye
--
Luca
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, 23 Sep 2020, Luca Olivetti via fpc-pascal wrote:
Hello,
I just compiled a lazarus project made in 2105 with fpc 3.2.0 and, while
it works here, it fails when the customer runs it.
I noticed that I'm using a dll and the functions and callbacks are
declared stdcall (the platform is
Hello,
I just compiled a lazarus project made in 2105 with fpc 3.2.0 and, while
it works here, it fails when the customer runs it.
I noticed that I'm using a dll and the functions and callbacks are
declared stdcall (the platform is win32) but without the ;, i.e.:
function OnAttach(handle: p
14 matches
Mail list logo