[Contents] · [Home] · [Mail]

SALIERI Language - readStr

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("->")
->12
Result= "12"
> readStr("->")
->12+2*3
Result= "12+2*3"
> readStr("->")
->"hallo"
Result= "hallo"
> read("->")
->12a
Result= "12a"

See also: read


[Contents] · [Home] · [Mail]
© sic!systems, page frame designed by hh; this page has been automatically generated from the SALIERI Documentation Database.