[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: constants?
- From: "Brett Bibby" <research@...>
- Date: Tue, 7 Oct 2003 17:53:18 +0800
I checked the archives and couldn't find the definitive answer I was
looking for.
Does lua support preprocessor constants? I'm guessing no by the
archived notes I did see. As a lua newbie, is there a technical reason
it's not supported?
For the record, I simply want to do the equivelent to:
#define SOME_CONSTANT 10
a = SOME_CONSTANT
b = a * 2
c = SOME_CONSTANT/2
etc.
Cheers,
Brett