The consoleLib.promptLineMode() system function displays a prompt string in line mode and waits for user input. The prompt appears on the line identified by the promptLine window property. The user responds by entering a string and terminating input with the Enter key.
consoleLib.promptLineMode(message STRING in)
returns (result STRING)
The following example shows a user being prompted to enter a customer name:
custName STRING;
custName = consoleLib.promptLineMode("Enter customer name: ");
getCustomerRecord(custName);