Run Rev's within() function--Was: Problem with mask
James Hurley
jhurley0305 at sbcglobal.net
Fri Oct 24 16:18:17 EDT 2008
Oops. Maybe some of you have discovered the my user defined "within"
function was wrong--I get the digest version of the List.
It should have been:
--User defined "within" function
if dx >= 0 and dx < 101 and dy >=0 and dy < 101 then
put true into myWithin
else
put false into myWithin
end if
So it is the RIGHT and BOTTOM portions of the rectangle in which the
RR within() function fails to recognize as points within the rectangle.
Jim
More information about the use-livecode
mailing list