Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2018-12

TDef mode question

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martok

Hi all,

just a very quick question - I think the answer is no, but that doesn't mean anything:

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.

Cheers,
Martok

Reply by email

Jonas Maebe
to Martok
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

Reply by email