Re: #defines in 4gl
Posted in 1993
van@group1.com (Van Bagnol) writes: : Neil S. Briscoe (neil@salmon.demon.co.uk) wrote: : : At present, anyone who wants to do this uses the m4 macro package. : : Would there be interference between m4's define(...) construct and 4GL's : DEFINE... statement? At our site we don't uppercase keywords or code. : I had once considered using m4 but due to the above potential conflict : didn't pursue it seriously. : : Hmm...what if the following form were used: : define(var, define) : define(FOOSIZE, 64) : ... : var foo[FOOSIZE], bar smallint # kinda Pascal-like : Is a workaround like this necessary? : I do uppercase DEFINE in 4GL and suffered no conflict. I havn't tried to see if you could get away with Define in 4GL and define for m4. I'll leave it as an excercise for the reader. :-) Regards Neil -- Neil S. Briscoe Telephone: +44 252 376737 System Administrator Fax: +44 252 376644 Email: neil@salmon.demon.co.uk nbriscoe@cix.compulink.co.uk