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;
James
-----Original Message-----
From: fpc-pascal <[email protected]> On Behalf Of Michael
Van Canneyt
Sent: Monday, July 1, 2019 10:49 AM
To: FPC-Pascal users discussions <[email protected]>
Subject: Re: [fpc-pascal] Changing compiler modes
On Mon, 1 Jul 2019, James Richters wrote:
> I see how {$ModeSwitch } work now.. I have far more code that only works in
> {$Mode TP} so I supposed I'll have to just re-write things to stay compatible
> with that.
>
> Is there a {$Modeswitch } feature I can turn on to allow the % to specify
> binary numbers when in {$Mode TP}?
No. Here is a list of available modeswitches:
https://www.freepascal.org/docs-html/current/prog/progsu105.html#x113-1140001.3.22
Michael.
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal