1. Re: QBasic --> Euphoria (again) OOPS!

=46olks, the "alternative" I posted for QB's ABS function was
buggered if you assume it's ABS - it works perfectly if you
assume it's SGN instead.  For ABS, simply multiply x (the number
you want the ABS of) by what I supplied - in other words,

ABS(x) <-> x * compare(x,0)

Sorry for the goof; I was posting in a mental condition of
"tired" and "emotionally stressed".
--
Jeff Zeitlin
jeff.zeitlin at mail.execnet.com

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu