I'm sure it depends on which preprocessor is being used, but I doubt most modern ones do this.
> -----Original Message----- > From: Dynerman David M [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 06, 2002 7:35 PM > To: [EMAIL PROTECTED] > Subject: RE: [hlcoders] string to #define > > > The pre-processors scan through source files replacing the define with > the value. > > I'm not 100% sure, but about 95% that it looks in strings as well, so > > someFuncThatTakesAString("WEAPON_GARAND"); > > will get changed to > > someFuncThatTakesAString("2"); //constant string 2\0 > > before its compiled. _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

