Prompt
Prompts the user for input.
Examples--prompt statement:
Example 1:
This example prompts the user for an employee's department:
## prompt ("enter the department: ", vdept)
Example 2:
This example prompts for a password before opening a database cursor to view and update employee information:
## prompt noecho ("enter password: ", passwd)
if (passwd = "rosebud") then
## open cursor viewemp
else
## message "no permission for task"
## sleep 2
end if
Example 3:
This example uses a prompt as an interactive message displayed at the top of the screen:
## prompt noecho("an error has occurred [press return]",
## var)
## with style=popup
## (startcolumn=1, startrow=1)