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.

Author
Message
SpaceKnight
14
Years of Service
User Offline
Joined: 4th May 2010
Location:
Posted: 4th May 2010 23:55
Hi, I recently downloaded DarkBASIC Pro, and have been trying to test a few basic tools, but seem to have encontered a problem with the Run tool.

Whenever I compile and run the file, the 'Game' screen appears, then disappears some quarter of a second later, and I am not sure why this keeps happening.

I have looked online and through tutorials, but nothing suggests that this should happen.

If anyone knows what the problem is, it would be much appreciated if you could help me out.

Regards.

SpaceKnight.

I'm a Bomb Technician. If you see my running, try to keep up!
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 5th May 2010 02:12
What code did you run?
Because if there is nothing to tell the program to stop somwhere it exit when the code is executed.This happens in case your program lacks do-loop(which make it repeat everything in it, even if it`s empty loop the program just spin it until ESC pressed) or something like "wait key" for example.

Please show us the "game".I think the problem might be there.

Where there is a will, there is a way.
I often edit my posts, that`s who i am
Travis Gatlin
15
Years of Service
User Offline
Joined: 14th May 2009
Location: Oxford, Alabama
Posted: 7th May 2010 04:05
i had the same problem, just put some code in a loop and it will keep running
like so


Google.com. Nuff Said
SpaceKnight
14
Years of Service
User Offline
Joined: 4th May 2010
Location:
Posted: 23rd May 2010 19:55
luskos > the 'game' window being what appears when you run the script

travis > ok, I will try that, thanks

I'm a Bomb Technician. If you see my running, try to keep up!

Login to post a reply

Server time is: 2024-11-24 16:07:08
Your offset time is: 2024-11-24 16:07:08