Command @...PROMPT Foundation
Displays a menu item and an optional descriptive message.
@ <nRow>, <nCol> PROMPT <cMenuItem> ;
[MESSAGE <bcMessage>]
The command @...PROMPT defines menu items and matching messages. The messages are displayed at the screen row specified with SET MESSAGE. A menu defined using @...PROMPT is activated by the command MENU TO which allows the user to make a menu selection. The menu items are displayed in the order they were defined with the command @...PROMPT. The menu item currently selected is displayed in the "highlighted" color (second color value) of the system color set with SetColor(). The other menu items are output in the default color (first color value).
After a menu item is displayed using @...PROMPT, the cursor is located immediately after the last character of <cMenuItem>, and the functions Row() and Col() return the corresponding values for the row and column positions. The user can jump directly to a menu item by pressing the first letter character of <cMenuItem> during menu execution. If SET WRAP is turned ON and the user attempts to move the highlight past the last menu item, the first menu item is highlighted. The reverse occurs if the user tries to move up from the first menu item.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.