Re: [fpc-pascal] $modeswitch from command line

2020-02-04 Thread zh loza via fpc-pascal
I personally find it very convenient to have a global include file for such features. E.g. we have a global.inc with {$mode objfpc}{$modeswitch advancedrecords} and include it {$include global.inc} in every file of our project. This way we can easily modify a lot of compiler directives / macros tha

Re: [fpc-pascal] specify variable name with string variable

2019-07-07 Thread zh loza
Hi all! It's my first answer to the mailing list, hopefully I won't screw anything up. On Sun, Jul 7, 2019 at 10:58 PM James Richters wrote: > > This might sound silly, but is it possible to somehow specify a variable > with a string containing the name of the variable? You might want to try u