<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


Words in category Comparison Words in glossary TurboForth Kernal

Search:
The following words are listed in this category (14 words found): Word Types: S = Standard, I = Immediate , IC = Immediate-compiling.
Word Name Word Type Data Stack Signature Return Stack Signature Description Availability
V1.0 V1.1 V1.2
< S a b -- true|false -- Replaces a and b with TRUE if a < b, else replaces with FALSE.
<= S a b -- true|false -- Replaces a and b with TRUE if a < b, else replaces with FALSE.
<> S a b -- true|false -- Replaces a and b with TRUE if a and b are of different value, else replaces with FALSE.
= S a b -- true|false -- Replaces a and b with TRUE if a and b are equal, else replaces with FALSE.
> S a b -- true|false -- Replaces a and b with TRUE if a > b, else replaces with FALSE.
>= S a b -- true|false -- Replaces a and b with TRUE if a >= b, else replaces with FALSE.
0< S a -- true|false -- Replaces a with TRUE if a<0, else replaces with FALSE.
0<= S a -- true|false -- Replaces a with TRUE is a<=0, else replaces with FALSE.
0<> S a -- true|false -- Replaces a with TRUE is a<>0, else replaces with FALSE.
0= S a -- true|false -- Replaces a with TRUE if a=0, else replaces with FALSE.
0> S a -- true|false -- Replaces a with TRUE if a>0, else replaces with FALSE.
0>= S a -- true|false -- Replaces a with TRUE if a>=0, else replaces with FALSE.
U< S a b -- true|false -- Performs an unsigned < comparison.
WITHIN S n low high -- true|false -- Replaces n, low, and high with TRUE if n is >= low and < high, else replaces with FALSE.

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>