COMPARE() (was Re: browse keys (@bk))
Fairlight
fairlite at fairlite.com
Tue Jul 20 16:02:19 PDT 2004
On Tue, Jul 20, 2004 at 06:58:45PM -0400, after drawing runes in goat's blood,
Kenneth Brody cast forth these immortal, mystical words:
>
> Why? Simply check the return value from compare() on the if line:
>
> If: compare(aa,ab) ne "0"
>
[snip]
>
> Boolean functions, yes. Arithmetic functions, no.
In that case, it's already present, if a little more verbose, and there's
no huge cause for complaint. I didn't think they could be used that way.
I probably tried an arithmetic function improperly in the past and assumed
it couldn't be done at all. I'm used to the old "it either evaluates to
true or it doesn't, and anything non-zero is true" results from many other
languages.
But in this case, it's no huge deal. It's fully functional. Thanks for
the tip...that'll come in handy.
mark->
--
Bring the web-enabling power of OneGate to -your- filePro applications today!
Try the live filePro-based, OneGate-enabled demo at the following URL:
http://www2.onnik.com/~fairlite/flfssindex.html
More information about the Filepro-list
mailing list