Next: , Previous: Let there be a window, Up: Windows Tutorial   [Contents][Index]

4.9.3 Other functions

You can also see in the above examples that I have used the procedures cols, and lines. These procedures return the size of the stdscr.

The function getch as usual gets the key from the keyboard, and then the cond expression acts on the key pressed. This type of cond expression is very common in any GUI-based program.