I am not aware of any Pascal implementation that does have a STEP parameter for FOR loops

If step is wanted, it's easy enough:

For n:=a to b Do
  Begin
    if n Mod step <> 0 then Continue;
    ...


Martin.

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

Reply via email to