conrequest
Displaying a multiple choice request on the console.
func uint conrequest (
str output,
str answer
)
str output,
str answer
)
Parameters
output | Request text. |
answer | Enumerating possible answer letters. Answer variants are separated by '|'. For example, "Nn|Yy" |
Return value
The function returns the number of the selected variant beginning from 0.
Related links | Source |