No, looking at the tutorial code I think it's much simpler than that!
Let me guess, a program as simple as this:
is causing the DBP window to open then immediately close?
If yes, then you need to add two commands to the program to make it work:
Print "Hello World"
wait key
end
In the first version, DBP prints text to the screen and then finds no more commands to execute so the program has finished - and it closes, after a little under half a second. Wait key tells DBP to wait until some key on the keyboard is pressed, at which point DBP closes - but the wait key means the window stays open long enough for you to actually
read what the computer put on screen!
We spend our lives chasing dreams. Dark Basic lets us catch some of them.