ifdef handling
- Posted by petelomax Dec 30, 2010
- 1172 views
I was just playing around and tried the following:
ifdef WIN32 then puts(1,"WIN32") elsedef puts(1,"NOT WIN32") y end ifdef ifdef WIN32 then constant X = 0 elsedef constant Y = 0 end ifdef constant ifdef WIN32 then X2 elsedef Y2 end ifdef = 0
It forces a line break after elsedef and rejects the constant as invalid use of a reserved word. Thoughts, anyone?