int nextch(display_text)
char *display_text /* prompt text */
The nextch function prompts the user to press some key by displaying
display_text
on the bottom line of the screen.
nextch works also under tutorial mode (reading key strokes from the
sucro file).
nextch returns the SURVO 84C key code of the key pressed.
The key codes are given in survo.h
.
int m;
m=0;
while (m!=CODE_RETURN)
m=nextch("Press ENTER!");
/* The program waits until ENTER is pressed */