[Lazarus] Is it possible to create a loop

Sven Barth pascaldragon at googlemail.com
Sun Oct 3 20:09:16 CEST 2010


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




More information about the Lazarus mailing list