CoordInScope()

Summary

Checks to see if a coordinate is in a given scope.

Syntax

result = CoordInScope(coord c, scope scp)

Argument Contents
c The coordinate to be tested
scp The scope to be examined

Returns

The string "Yes" or "No" as appropriate.

Example

my_house = Coord(-94500000, 33750000)
construction = ClickScope()
if CoordInScope(my_house, construction) = "Yes" then
ShowMessage("Bad News!")

See Also

Function Summary
ScopeInScope() Checks to see if one scope is completely contained within another
ScopeOnScope() Checks to see if one scope overlaps another