<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>
In Comparison Words in TurboForth Kernal
Replaces n, low, and high with TRUE if n is >= low and < high, else replaces with FALSE.
99 40 400 WITHIN . \ returns true, since 99 is within the range of 40 to 400
99 40 400 WITHIN .
99 10 20 WITHIN . \ returns false
99 10 20 WITHIN .
-20 -100 -1 WITHIN . \ returns true
-20 -100 -1 WITHIN .
none