[fpc-devel] TDef mode question

Jonas Maebe jonas at freepascal.org
Thu Dec 27 20:48:59 CET 2018


On 2018-12-27 20:46, Martok wrote:

> Is there a (ppu-persisted) way to find out in what language mode (fpc, 
> iso,
> tp..) a tdef was originally declared? The current_settings.modeswitches
> obviously refer to the module it is currently used in.

No, there is not. If a def needs to be different depending on the 
language mode, you have to store it in the def.


Jonas



More information about the fpc-devel mailing list