LOCATE CHOICE : n
displays 8 buttons and assigns the index of the pushed button to a numeric variable n.
LOCATE CHOICE(m) : n
displays m buttons and assigns the index of the pushed button to a numeric variable n, where m is an numeric expression.
The number of buttons is at most 8.
LOCATE VALUE ,RANGE a TO b : x
displays a slide bar, gets a value between a and b and assigns it to a numeric variable x.
LOCATE VALUE ,RANGE a TO b ,AT initial_value : x
A LOCATE-VALUE statement can contain a directive on the initial position on the slide bar.
Original Enhancement
LOCATE CHOICE(1-dimensional-string-array) : n
displays the value of the indexed variables on the buttons, assigns the index of the pushed button to a numeric variable n.
When the lower bound of the array is 1, the index shall coincide with the index on the array.
The number of buttons displayed is the size of the array, provided that it must be at most 8.