RE: Example where Euphoria defaults on a boolean expression

new topic     » goto parent     » topic index » view thread      » older message » newer message

--- Bernie Ryan <xotron at bluefrognet.net> wrote:

>   If you are dissatisfied with the way Euphoria handles
>   true and false then why don't you write a library/include
>   file to place on the contribution page that performs the
>   way that you think is correct. This would benefit the other
>   users like yourself that need that capability.

My matheval will do this.  I don't think I've updated the lib proper, but I've
written a booleval.e extension to it to do boolean evaluation.  Within the lib,
you set and clear variables.  If a necessary variable isn't defined, it won't
finish evaluating, and it's easy to see, since a fully evaluated statement is
either returned as 1 or 0.

You can get the files in the last update on my page to EuSQL:

http://www14.brinkster.com/matthewlewis/projects.html

Matt Lewis


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu