On 27/09/2012 16:10, ik wrote:
Hello,
Is there a way to create a static variable inside a procedure ?
The following code:
procedure static_variable;
var static_var : Integer = -1;
const
static_var: integer = 1;
begin
inc(static_var);
writeln('static_var ', static_var);
end;
__
Hello,
Is there a way to create a static variable inside a procedure ?
The following code:
procedure static_variable;
var static_var : Integer = -1;
begin
inc(static_var);
writeln('static_var ', static_var);
end;
begin
while true do
begin
static_variable;
sleep(1000);
e
On 27 Sep 2012, at 10:44, ik wrote:
> In order to use FPC jvm for android, what version should I be using of FPC ?
trunk
> I tried to compile FPC 2.7.1 r22465. It complains on:
>
> symdef.pas(620,38) Error: Identifier not found "TAsmList"
Fixed.
Jonas
Hello,
In order to use FPC jvm for android, what version should I be using of FPC ?
I tried to compile FPC 2.7.1 r22465. It complains on:
symdef.pas(620,38) Error: Identifier not found "TAsmList"
Thanks,
Ido
___
fpc-pascal maillist - fpc-pascal@lists