Re: [fpc-pascal] undefining multiple defines

2005-03-06 Thread Marc Santhoff
Am So, den 06.03.2005 schrieb Olle Raab um 23:30: > 05-03-03 10.55, skrev Marc Santhoff följande: > > > Am Do, den 03.03.2005 schrieb Marco van de Voort um 08:32: > >>> unit b; > >>> ... > >>> {$undef M1-M15} > >> > >> Such constructs won't work, for the same reason that variablenames with > >> n

Re: [fpc-pascal] undefining multiple defines

2005-03-06 Thread Olle Raab
05-03-03 10.55, skrev Marc Santhoff följande: > Am Do, den 03.03.2005 schrieb Marco van de Voort um 08:32: >>> unit b; >>> ... >>> {$undef M1-M15} >> >> Such constructs won't work, for the same reason that variablenames with >> numbers in it can't be used as such. >> >> For the compiler it is an

Re: [fpc-pascal] undefining multiple defines

2005-03-03 Thread Marc Santhoff
Am Do, den 03.03.2005 schrieb Marco van de Voort um 08:32: > > unit b; > > ... > > {$undef M1-M15} > > Such constructs won't work, for the same reason that variablenames with > numbers in it can't be used as such. > > For the compiler it is an alphanumerical identifier, and the number(s) have > n

Re: [fpc-pascal] undefining multiple defines

2005-03-03 Thread Nico Aragón
El Jueves, 3 de Marzo de 2005 01:56, Marc Santhoff escribió: > this is used to include some dependant functions from only one central > include file holding all possible versions. And it has to work from the > command line or makefile. Then you can write a program (invoked from the command line or

Re: [fpc-pascal] undefining multiple defines

2005-03-02 Thread Marco van de Voort
> unit b; > ... > {$undef M1-M15} Such constructs won't work, for the same reason that variablenames with numbers in it can't be used as such. For the compiler it is an alphanumerical identifier, and the number(s) have no meaning. ___ fpc-pascal mailli

Re: [fpc-pascal] undefining multiple defines

2005-03-02 Thread Marc Santhoff
Am Do, den 03.03.2005 schrieb Jeff Miller um 13:56: > > I'm using several defines like this: > > > > {$define M1} > > { $define M2} > > { $define M3} > > { $define M4} > > > > Any time I have to change them, I have to touch all one by one, because > > they're mutually exclusive. > > > > Or a bet

Re: [fpc-pascal] undefining multiple defines

2005-03-02 Thread Jeff Miller
> I'm using several defines like this: > > {$define M1} > { $define M2} > { $define M3} > { $define M4} > > Any time I have to change them, I have to touch all one by one, because > they're mutually exclusive. > > Or a better basic approach? Maybe I am missing something, but why not just have

[fpc-pascal] undefining multiple defines

2005-03-02 Thread Marc Santhoff
Hi, I'm using several defines like this: {$define M1} { $define M2} { $define M3} { $define M4} ... Any time I have to change them, I have to touch all one by one, because they're mutually exclusive. Is there method of saying: {$undef M1..M15}? Or a better basic approach? TIA, Marc ___