Re: [fpc-pascal] does FPC support static variable inside a procedure ?

2012-09-27 Thread Martin
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; __

[fpc-pascal] does FPC support static variable inside a procedure ?

2012-09-27 Thread ik
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

Re: [fpc-pascal] What version of FPC should I use to develop android application ?

2012-09-27 Thread Jonas Maebe
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

[fpc-pascal] What version of FPC should I use to develop android application ?

2012-09-27 Thread ik
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