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

 

James

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to