[fpc-pascal] Changing compiler modes

Michael Van Canneyt michael at freepascal.org
Mon Jul 1 19:39:20 CEST 2019



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.


More information about the fpc-pascal mailing list