Re: do-while style
- Posted by mattlewis (admin) Aug 28, 2008
- 935 views
SDPringle said...
Something got my attention in the documentation. There is a SAFE define for ifdef that is defined only for Euphoria 4.00 or later. Since ifdef will only work with 4.00 or later how could this be useful? Is this another bug or have I missed something? http://openeuphoria.org/docs/eu400_0013.html#[95]ifdefstatement
ifdef SAFE --use 4.0 features... endifdef
That cannot be the correct usage, ifdef is a 4.0 feature. What is it for then?
I think the docs are incorrect. SAFE is used instead of the current technique of replacing machine.e with safe.e. Basically, you just put:
with define SAFE
...in your code, and you get the safe version of the memory routines.
Matt