Checks if an AN is within a region bounded by two ANs.
pAnInRgn(AN, One, Two)
The animation-point number.
One - the AN at a corner of the region; two - the AN at the opposite corner of the region.
1 if the AN is within the region, or 0 (zero) if it is not.
IF DspAnInRgn(250,20,30) THEN
Prompt("Mouse in region bounded by AN20 and AN30");
Prompt("Mouse not in region");