3. Statements : OpenROAD Language Statements : Prompt Statement
 
Share this page                  
Prompt Statement
This statement displays a message in a pop-up window and accepts input from the application user.
This statement has the following syntax:
variable = prompt varcharstringexpr;
The prompt statement causes the application to request input from the user. It displays a character string message on the screen, accepts the input from the user, and places the user's response into a designated variable.
The prompt is displayed in a pop-up window centered in the calling frame. This pop-up window covers the calling frame until the user acknowledges the prompt.
For information about other ways to prompt users, see the descriptions of the ReplyPopup (see ReplyPopup Method) and FilePopup (see FilePopup Method) methods defined for the ProcExec class.
For more information about the prompt statement, see the Programming Guide.