Currentpoint – AMT Datasouth PAL User Manual
Page 79

73
currentpoint
currentpoint
Description
Returns the coordinates of the current point.
Usage
currentpoint
XNum YNum
XNum
Integer or fixed-point. Current X coordinate in user coordinates.
YNum
Integer or fixed-point. Current Y coordinate in user coordinates.
Comments
The operator returns the position of the current point. PAL returns the coordinates in the user
coordinate system.
Some PAL drawing applications move the current point. For example, the show operator
automatically moves the current point to the end of drawn string. This allows the user to quickly
draw another string following the first string without having to calculate the string's proper
position. If required, the currentpoint operator allows the programmer to determine the new
current point location following these draw operations.