[Lazarus] Is it possible to create a loop
Bizugo
kingbizugo at gmail.com
Sun Oct 3 22:18:58 CEST 2010
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
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list