Thanks for the replies, I was thinking that the FPC could have a php-like for...

for(var;condition;add)
for($i=0;$i<X;$i++) { Codes }

I was just guessing, thanks for the replies.

Em 03/10/2010 15:09, Sven Barth escreveu:
On 03.10.2010 20:01, Bizugo wrote:
Is possible to create a loop using a code like this one:

for var J: integer = X to Y do {...}

Thanks.

No, it isn't. You must declare the type at the beginning of the function/procedure.

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to