Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Forth

Name: Anonymous 2011-06-11 14:02

Problem: Implement the word WITHIN? ( n low high -- t|f ), which returns TRUE if n is greater than or equal to low and less than or equal to high.

Solution:
: within? ( n1 n2 n3 -- t|f)
  rot dup rot <= -rot < and ;


Conclusion: My brain is full of fuck.jpg.

Name: Anonymous 2011-06-11 20:52

>>14
What about it's not?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List