Type:
readStr: promptString -> string
Call syntax:
readStr(prompt)
Description:
readStr
displays the prompt string prompt
and waits for the user to type in a string;
the input is terminated by hitting the Enter-key.
The user input is then returned as the result of readStr;
the terminating Enter is not represented in this result string.
Example:
> readStr("->")
->
Result= "12"
> readStr("->")
->
Result= "12+2*3"
> readStr("->")
->
Result= "hallo"
> read("->")
->
Result= "12a"
See also: read