Euphoria Ticket #839: bad ifdef example

Using ifdef

The very bottom of the page states:

TFM said...

Do be careful to put the numbers after the platform names for Windows:

-- This puts() routine will never be called 
-- even when run by the Windows interpreter! 
ifdef WINDOWS then 
     puts(1,"I am on Windows\n") 
end ifdef 

This contradicts current pre-defined ifdefs and the preceding section of the manual.

Details

Type: Bug Report Severity: Normal Category: Documentation
Assigned To: unknown Status: New Reported Release: 4.0.5
Fixed in SVN #: View VCS: none Milestone:

Search



Quick Links

User menu

Not signed in.

Misc Menu