>Did you know you can use the equal to or less than and equal to or greater than operators in VFP to represent less than or equal to and greater than or equal to, respectively?
>
>I didn't. I've written a VFP source code parser and was going through various source code examples and came across that comparison operator in code today and it works in the command window:
>
>
WAIT WINDOW (5 <= 7)
>WAIT WINDOW (5 =< 7)
>
>WAIT WINDOW (5 >= 7)
>WAIT WINDOW (5 => 7)
>
>Does not work with =! though. :-) The things I still learn about VFP ... not all subtlety and nuance.
I have no idea what you are talking about. So I'm curious.
What operator is
equal not? aka
=! ?
! means not something like
not equal, aka
!=. So, compare something and then return the logical negative.
#! for example would be read
not equal then not, this looks like it will have no meaning in any datatype
On this every operation with
! right hand must fail.
BTW all
Relational Operators available are listed under this topic in VFP help ....
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]