From: Timothy Hunter Date: 2007-03-12T20:40:57+09:00 Subject: Re: #define alternative for Ruby Mike wrote: > Just try to implement: > set_default(var, val) > -- if variable "var" is not defined (not existed) then assign value > "val" > I'd like to point out that you can't do that with #define, since C macros are processed before the compiler runs, and whether or not "var" is defined is not known until the compiler runs.