OPTION (display radio buttons)

Top  Previous  Next

 

OPTION

The OPTION type in a #PROMPT statement indicates the prompt's symbol receives the value of one of the strings in one of the following RADIO #PROMPT statements, unless the CHOICE attribute is present, then the symbol receives the ordinal position number of the RADIO #PROMPT the programmer chooses from an OPTION set instead of the string text.Each of the strings displays a radio button on the Properties screen when the #PROMPT is encountered.

Example:

#PROMPT('Ask for Choice',OPTION),%OptionSymbol

#PROMPT('Option One',RADIO)

#PROMPT('Option Two',RADIO)

#PROMPT('Option Three',RADIO)