Howdy, Stranger!

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

Categories

While Not

Garrett85Garrett85 Member Posts: 168
;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"
Sign In or Register to comment.