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 / DBpro not working

Author
Message
Brad1993
16
Years of Service
User Offline
Joined: 7th Jun 2008
Location:
Posted: 10th Dec 2009 00:11
I just downloaded DBpro and everytime I try to run a program it shows a black window for about two seconds then just shuts it down. No matter what I type in it does not work. I have tried using the SYNC commands like in the tutorials but that does not work and I can not even get the tutorials to work when I type in that code. If you can help I would greatly appreciate it. Thanks in advance
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 10th Dec 2009 01:30
I'm just guessing here but sometimes new people to Darkbasic try things like printing to the screen but don't have a pause of some kind so they can see anything... it will just flash on and off quickly.

Try this:


Brad1993
16
Years of Service
User Offline
Joined: 7th Jun 2008
Location:
Posted: 10th Dec 2009 23:24
thanks i added in wait key and it works purfectly now i really appreciate it
nasheba99
14
Years of Service
User Offline
Joined: 16th Nov 2009
Location:
Posted: 24th Dec 2009 10:08
wait key
sleep 5000
if spacekey()=1
Darkbasic is the way to go.
Code hard!!

Login to post a reply

Server time is: 2024-09-28 12:22:38
Your offset time is: 2024-09-28 12:22:38