Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Need a command for program to wait.

Author
Message
Filmmaker Screenwriter
21
Years of Service
User Offline
Joined: 7th Jul 2003
Location:
Posted: 26th Jun 2004 21:58
Hey as you all know I am new to DarkBASIC. I'm working through Programming Principles right now.

What I like to do after I finish a Programming Principles lesson is to create a program and standalone .exe that shows what I did in the lesson.

Isn't there a command to make the program wait until users press a key, because right now the standalone starts and quits so fast you don't even see a single thing on the screen.

Thanks for your help.

Pentium4 3GHZ, 512MB DualChannel RAM, 256MB ATI Radeon 9800XT, SoundBlaster Audigy2, 120 GB HD.
jasuk70
21
Years of Service
User Offline
Joined: 3rd Dec 2002
Location: Hemel Hempstead
Posted: 26th Jun 2004 22:26
There is a WAIT KEY command in DBPro

Jas

----
"What is this talk of 'release'? Klingons do not'release' software. It escapes leaving a bloody trail of developers and quality assurance people in its wake!"
Filmmaker Screenwriter
21
Years of Service
User Offline
Joined: 7th Jul 2003
Location:
Posted: 26th Jun 2004 22:48
It works in DBC, too. I just tested it. Thanks, jasuk70!

Pentium4 3GHZ, 512MB DualChannel RAM, 256MB ATI Radeon 9800XT, SoundBlaster Audigy2, 120 GB HD.

Login to post a reply

Server time is: 2024-09-22 14:34:43
Your offset time is: 2024-09-22 14:34:43