[fpc-pascal] Illegal counter variable?

James Richters james at productionautomation.net
Wed Sep 11 16:24:30 CEST 2019

How do you get ‘By’ to work?   I have downto working but if I try ‘By’ I get


Fatal: Syntax error, "DO" expected but "identifier BY" found


If FPC is going to support downto and by, why not also support changing the control variable when not in {$Mode TP} as well, and just make a note that doing so may not be compatible with other pascal compilers.. but who cares anyway FPC is better than all the others anyway 😊 


>Well, we do have a patch for "for ... (down)to ... by" support: https://bugs.freepascal.org/view.php?id=25549



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190911/808159ff/attachment.html>

More information about the fpc-pascal mailing list