ifdef handling

new topic     » topic index » view thread      » older message » newer message

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?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu