READPROMPT (RP)
Syntax READPROMPT text
RP text
(READPROMPT)
 
Explanation READPROMPT opens a dialog box and lets the user type a line which is reported as a single Logo word. Its input is displayed as text. If READPROMPT is used without any inputs, a default message appears.

READPROMPT is useful to define names that contain delimiters or characters that would otherwise need to be quoted with \ and for retaining the case of characters entered by the user. When CASE is set to FALSE, READPROMPT retains the case of letters that are entered.

See also READWORD, READCHAR, READLINE READQUOTE, and READLIST.

Example READPROMPT "|Please enter a name|

 

TopIndex