XLAST, YLAST Variables
Track the last values specified for the X and Y variables when X and Y are used with nontext functions.
Comparisons
The coordinate values that are stored in the (XLAST, YLAST) variables are automatically updated by these nontext functions: BAR, DRAW, MOVE, PIE, and POINT. These values are then available for use by other nontext functions that follow in the DATA step. (The DRAW2TXT graphics function uses XLAST and YLAST but does not update them.)
Because (XLAST, YLAST) are updated internally, you cannot specify values for them. However, their values can be manipulated by these programming functions:
| CNTL2TXT | PUSH |
| PIECNTR | SWAP |
| PIEXY | TXT2CNTL |
| POP |