While Not

;Waits for a key and then exits

Graphics 640,480

Text 0,0, "This program is worthless."
Text 0,12, "Press escape to exit."


;Wait until user presses 1 to Escap
While Not KeyDown(1)

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"
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!