Firstly, don't use the code box, it is crap and rarely works (as in your case). Instead Enclose your code in {code} put your code here{/code} but replace the bendy brackets with square ones "[]" and it will look like this
.
Secondly, you have posted in the wrong area ... this is the code snippets section and is for completed code only. ie. code that works and others can learn from.
see here
Since it is help you are asking for I would recommend posting in either the
DarkBasic Discussion or
DarkBASIC Professional Discussion boards (depending on what you are using) or perhaps the
Newcomers Corner.