;Waits for a key and then exits
Graphics 640,480
Text 0,0, "This program is worthless."
Text 0,12, "Press escape to exit."
Flip
;Wait until user presses 1 to Escap
While Not KeyDown(1)
Wend
End
In the program above, where is the Escape key defined, is it "1" in the Basic programming language? Thanks.
I'M reading the book "3D programming for Teens, 2 Edition"