next up previous contents index
Next: gets Up: Others Previous: display_message

getchar

  char getchar()
char getchar(char * strprompt)

Displays the Xcoral Dialog Box to get a character. If strpromptis not given, it is replaced by "getchar ? ", which is written before the prompt. Only one character may be given, without line editing nor required return. If you choose the ok button, returns 0, if you choose cancel returns 7 (the bell).



Lionel Fournigault
Fri Nov 6 17:00:30 MET 1998