Re: NULL value anyone?
- Posted by _tom (admin) Mar 30, 2015
- 1394 views
Shian_Lee said...
Why do you need a trick to do something so simple, such as monitoring a stack? - Set/Reset a boolean and that's all.
The stack example is there because it is simple. There are already three complete solutions to stacks for Euphoria.
Flags are maybe not so simple!
- I would need an extra variable for each stack. The example works on any number of stacks.
- How do I put that variable into a sequence representing a stack?
- Or, what do I do with a bunch of global boolean variables? How do I name them? How do I remember to use them?
Arguments have to be done with code not opinions.
A "trick" is an exploration of the limits of Euphoria for me.
Shian_Lee said...
What other languages do is not always better. That is the *only* reason to use Euphoria.
There is always something to be learned from Other_Language. Sometimes Other_Language only shows me that Euphoria will work better for me, sometimes I learn something powerful.
_tom