On Mon, 1 Jul 2019, James Richters wrote:

Thanks for the link to the list of mode switches.  I'm still trying to figure 
out how I can best restructure.. I'll probably need to re-write a bunch of 
stuff to make things all work in the same mode.   I'm thinking of making it all 
work in fpc mode.

Do any of these happen to allow modifying a For loop variable, which works in 
{$Mode TP}

For X := 1 to 10 do
  Begin
      If somethingmakesmewanttoexit then
           X:=10;
      If somethinmakesmewanttoskipthenextthing then
          Inc(X);
  End;

Not to my knowledge.

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

Reply via email to