Method Stdio.Readline()->read()
- Method
read
stringread(string|voidprompt,array(string)|voidattrs)- Description
Read a line of data from the input.
- Parameter
prompt Alternative prompt. Defaults to the prompt set by set_prompt().
- Parameter
attrs Alternative prompt attributes. Defaults to the attributes set by set_prompt().
This function is essentially a short hand for
edit("", prompt, attrs).- See also