N is a variable. Ok, check this out.
For n = 1 to 5
print "I am going to say hello five times!"
next x
end
Ok, now what this does is when the program uses this code, it will go over the center code 5 times. The first time it will be n = 1, and it will print "I am going to say hello five times". Then when it hits, "Next x", it will go back to the top code and n = 2 this time. It will then print the "I am going to say hello fivr times" again. Then it will hit "Next x" again and go back to the top, and this time, n = 3. Get it? Then, when n = 5 and the program hits "Next x", there will be no more "X"s to go through, and it will continue to "End". What you will see on the screen will be "I am going to say hello five times" printed on the screen...you guessed it...five times!
OK, this might be totally confusing, but I am not good at explaining very simple things. I would suggest to read some tutorials, and
really think about picking up "The Beginner's Guide to DarkBASIC Programming", as I can see you are just beginning. You need to get a foundation before asking questions here, because there are
way too many commands needed in DB to ask about them all here. The book is a great starting place, as I am just starting in Db too! Hope this helped a little!
Fraggles where quite the scary lot...