The point( function combines vertical and horizontal co-ordinates into a single number that describes the position of a point (see Graphic Coordinates).
This function has two parameters:
v – is the vertical position of the point. All dimensions are in points (1 points =1/72 inch).
h – is the horizontal position of the point.
The procedure below displays a message if you manage to click on a spot exactly 50 points from the top of the screen and 100 points from the left edge of the screen.
if info("click") = point(50,100) message "You hit the secret spot!" else beep endif
|10.0||Updated||Carried over from Panorama 6.0, but *V* and *H* parameters can now be floating point values, not just integers. The result is now a binary value, not an intenger.|