From: | |
Date: | 18 Feb 2001 at 23:27:39 |
Subject: | Re: "#define" for code |
Hello Andrew,
> Ok, I know that using #define var_name xxx replaces all the
> "var_name"s in the code with xxx before compiling (so it's faster then
> using a variable), and I /think/ you can do it with piece of code
> like:
hmm... in theory it isn't really faster. But if the compiler sucks then
it may be in practice. But instead you should try to declare the
variable as 'const'.
Kind regards Allan
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/982535410/
---------------------------------------------------------------------_->