PADPROMPT()
From Recital Documentation Wiki
Purpose
Function to return the prompt text of a pad in a Xbase style menu
Syntax
PADPROMPT(<expC1> [,<expC2>])
See Also
ACTIVATE MENU, DEACTIVATE MENU, DEFINE MENU, DEFINE PAD, ON PAD, ON SELECTION PAD
Description
The PADPROMPT() function returns the text associated with a menu bar in a pop-up Xbase style menu. These menus are created with the DEFINE MENU and DEFINE PAD commands. The pad is identified by <expC1> which represents the name that was assigned with the DEFINE PAD...PROMPT <expC> command. The PADPROMPT() function works on the active menu unless another menu is specified with the optional character expression <expC2>.
Example
? padprompt("SW", "Accounts") Southwest
Products
Recital