Copyright © Erlware 2006-2011 ---------------------------------------------------------------------------
Authors: Eric Merritt.
prompt() = string()
supported() = boolean() | number() | string()
type() = boolean | number | string
ask/1 | Asks the user for a response to the specified prompt. |
ask/2 | Asks the user to respond to the prompt. |
ask/3 | Asks the user to respond to the number prompt with a value between min and max. |
ask_default/2 | Asks the user for a response to the specified prompt. |
ask_default/3 | Asks the user to respond to the prompt. |
say/1 | Outputs the line to the screen. |
say/2 |
ask(Prompt::prompt()) -> string()
Asks the user for a response to the specified prompt.
ask(Prompt::prompt(), X2::type()) -> supported()
Asks the user to respond to the prompt. Trys to return the value in the format specified by 'Type'.
ask(Prompt::prompt(), Min::number(), Max::number()) -> number()
Asks the user to respond to the number prompt with a value between min and max.
ask_default(Prompt::prompt(), Default::string()) -> string()
Asks the user for a response to the specified prompt.
ask_default(Prompt::prompt(), X2::type(), Default::supported()) -> supported()
Asks the user to respond to the prompt. Trys to return the value in the format specified by 'Type'.
say(Say::string()) -> ok
Outputs the line to the screen
say(Say::string(), Args::[term()] | term()) -> ok
Generated by EDoc, May 1 2024, 06:09:58.