next up previous index
Next: Time and date Up: Miscellaneous Previous: Miscellaneous   Index

ask

In ask.cecil:

method ask(prompt@:string):string;
method ask_yes_no(prompt@:string):bool;
The ask method prints out a prompt on stdout and returns the result typed in on stdin. The ask_yes_no method returns true iff the first character of the response begins with Y or y.


next up previous index
Next: Time and date Up: Miscellaneous Previous: Miscellaneous   Index

Cecil/Vortex Project