Navigation: Templates > Template Language Reference > #PROMPT Entry Types Alpha Listing >====== OPTFIELD (optional text or data field) ====== | |
OPTFIELD
The OPTFIELD type in a #PROMPT statement indicates the prompt's symbol may either contain text entered by the programmer or the label of a field in a data file. When a field is selected, the #PROMPT symbol contains the field name with an exclamation prepended (!FieldName). A list of available fields pops up when the programmer presses the “…” button next to the #PROMPT entry box on the Properties screen.
Example:
#PROMPT('Default Value',OPTFIELD),%DefaultValue