Gentee Programming Language > Documentation > Libraries Download documentation

conrequest

Display a multiple choice request on the console.
 
uint conrequest(
      str   text,
      str   answer
)

Parameters

textRequest text.
answerEnumerating 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.

See also

    Function for working with the console


 Copyright © 2004-2006 Gentee Inc. All rights reserved.