Euphoria Ticket #1015: assert() function only called with command line parameter

Allow the placement of an assert() function which is ignored (like comments) unless the program is run with a special command line parameter.

assert() calls are ignored:

eui myapp.exw 

assert() calls are executed:

eui -DEBUG myapp.exw 
eui -ASSERT myapp.exw 

Not sure if this could work with compiled apps, but I don't see why not.


Type: Feature Request Severity: Normal Category: Language
Assigned To: ghaberek Status: New Reported Release:
Fixed in SVN #: View VCS: none Milestone: 5.0.0


Quick Links

User menu

Not signed in.

Misc Menu