Overview | Statement List | Example
POS/'message',x-coord,y-coord,z-coord,response
This statement allows three coordinate values to be obtained by using the screen position indicator which automatically appears upon execution of this statement.
CAUTION: We do not recommend using the asterisk character (*) in menu prompts or
menu options.
POS works with the Back and Cancel options. If Back is chosen during program execution while the POS statement is pending, the value of 1 to be assigned to the response variable. Cancel causes 2 to be assigned. The values 3 and 4 are not used, and may not be used. Once the position is defined, the value of 5 is assigned to the response variable and program execution continues.
Below is a list of response values assigned to the response variable:
Response |
Assignment |
Back |
1 |
Cancel |
2 |
Not Used |
3 |
Not Used |
4 |
Position Defined |
5 |
Parameter |
Description |
'message' |
A string which represents the title of the menu you want to display. The string can contain up to 40 characters. |
x-coord,y-coord,z-coord |
Three variables which are assigned the coordinate values obtained from the screen position indicated by the user during program execution. |
response |
A variable which is assigned a numerical value based on the user response. |