COMPARE() (was Re: browse keys (@bk))

Kenneth Brody kenbrody at bestweb.net
Tue Jul 20 21:49:39 PDT 2004


Fairlight wrote:
[...]
> 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.
[...]

Well, one could argue that these other languages are deficient in that
they don't have a boolean type, and so they must resort to defaulting
to "not equals zero" for true/false.  ;-)

Of course, how would you handle non-numeric types?  What does "if: @TD"
mean?

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody at spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+



More information about the Filepro-list mailing list