Expanding a bit on what Phaelix pointed out;
Think of programming as a recipe. Instead of a recipe for a desert, its for a program. The compiler (the thing that takes your code and makes a program) is like the chef reading the instructions on the recipe. The commands you tell the compiler to perform are like the steps the chef has to take on the recipe. The chef will always do these steps in order from 1st to last, unless told otherwise (enter goto's, functions, and gosub's, methods of skipping a bunch of steps to perform a task and then going back after the added task is complete).
Youre completely right in saying Dark basic does things in order, for example, using some very basic commands "PRINT" and "WAIT KEY", you could write a basic program like this:
PRINT "Hello, I am your first Dark Basic project."
WAIT KEY
PRINT "As you can see, every time you press a key..."
PRINT "I say something.
WAIT KEY
PRINT "Im all out of things to say now, press a key to end"
PRINT "the program."
WAIT KEY
END
If you read through that code, it shouldnt be too hard to grasp. The print command tells the compiler to output text to the screen, the text it outputs depends on what you put in the quotes after the print command. So, PRINT "Hello" will display "Hello" on the screen when you run your program.
The next command used is WAIT KEY, this command is also pretty self explanatory, it "WAITs for a KEY" to be pressed, any key, and then continues on with the program once the key has been pressed. You could think of this as telling a chef to "wait for the water to boil" before continuing.
After displaying some more text, allowing the user to press a key, and then displaying some more text again, the wait key command is called once more in the above program and is followed by the END command. The end command, again, is pretty self explanatory. When called, it closes your program, deleting any resources it was using as well (which is a good thing).
The best way to learn is to read and then experiment, its been proven time and time again. Read some of TDK ( a member on these forums)'s tutorials (located in a post at the top of this board) to get a good start, and after every tutorial is completed, go back and try to experiment with what you've learnt, making a small mini program.
If you ever have a problem remembering what a command does, or are wondering if there is a command in dark basic to do something you need, you can press F11 to open the Index, which contains a list of (most) of the commands in dark basic proffesional, and a description of how they work (albeit a fairly poor one). Usually the index can solve a lot of problems as the description given is good enough.
If all else fails, resort to the forums, and post a question about the problem you're experiencing, including source code if possible of what you've tried so far (anything helps), a description of what you need to happen, and people will usually help out as soon as possible.
Welcome to the community,
- RUC'