Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: PAIR! and greater-than less-than

From: cyphre:seznam:cz at: 26-Feb-2002 11:33

Hi Charles, Carl and all, Just wanted to mention two mezzanine fuctions 'inside? and 'outside? which you could find sometimes very usefull.
>> ? inside?
USAGE: INSIDE? p1 p2 DESCRIPTION: TRUE if both X and Y of the second pair are less than the first. INSIDE? is a function value. ARGUMENTS: p1 -- (Type: pair) p2 -- (Type: pair)
>> ? outside?
USAGE: OUTSIDE? p1 p2 DESCRIPTION: TRUE if either X and Y of the second pair are greater than the first. OUTSIDE? is a function value. ARGUMENTS: p1 -- (Type: pair) p2 -- (Type: pair)
>>
regards, Cyphre