Re: 3.0.3
- Posted by Robert Craig <rds at RapidEuphoria.com> May 11, 2007
- 742 views
Juergen Luethje wrote: > maybe you can add something like the following to 'misc.e': > }}} <eucode> > global constant > FALSE = 0, > TRUE = not FALSE > > global type boolean (object x) > if integer(x) then > return x = FALSE or x = TRUE > else > return FALSE > end if > end type > </eucode> {{{ > > I think it would be pretty useful. It would be useful, but if we add it now, it will trigger error messages in a lot of existing code, since boolean, TRUE and FALSE are already declared as globals, and used, by many programs that currently include misc.e. Maybe we should instead create a new "standard types" include file. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com