176k views
4 votes
N the code onkey(draw_9,"r"), what will happen when a lowercase "r" is typed on the keyboard?

1 Answer

6 votes
In the code onkey(draw_9, "r"), when a lowercase "r" is typed on the keyboard the draw_9 function will be called. The ONKEY function returns the key value that precipitated the signaling of the KEY condition during an input/output operation to a file that is being accessed by key.
User John Ackerman
by
5.9k points