Historical updating oE prompt_string, Revision 1
prompt_string
include console.e namespace console public function prompt_string(sequence prompt)
prompts the user to enter a string of text.
Parameters:
- st : is a string that will be displayed on the screen.
Returns:
A sequence, the string that the user typed in, stripped of any new-line character.
Comments:
If the user happens to type Control+Z (indicates end-of-file), "" will be returned.
Example 1:
name = prompt_string("What is your name? ")
See Also:
Not Categorized, Please Help
|
- diff to current revision, view current revision history, backlinks
- Last modified Sep 04, 2019 by _tom