Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 1677
Number of posts: 4766

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
While Not Posted by Garrett85 on 3 Mar 2009 at 9:48 AM
;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"



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.