Re: Ver 4.0 ifdef question

new topic     » goto parent     » topic index » view thread      » older message » newer message
euphoric said...
DerekParnell said...

Ok, now suppose one does this. What are you going to do with myOS?

Use it in the status bar or in a help window:

     You are running Windows 2010. 

I'm sure there are cases when setting a variable would be useful.

ifdef WIN32 
  sequence whereami = "You are running Windows 2010" 
else 
  sequence whereami = "You are using some form of not-Windows" 
end ifdef 
. . . 
set_status_text(whereami) 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu