The source code
- Code:
-
REM Hello World In DarkBASIC
Print "Hello World!"
Wait Key
What does it all mean?
- Code:
-
REM Hello World In DarkBASIC
This is a remark, which means the compiler just skips over it.
- Code:
-
Print "Hello World!"
Simple enough - this command prints the text that follows.
- Code:
-
Wait Key
Wait until any key is pressed before the next instruction is executed. If it wasn't there, the program would end immediately.
How do I compile it?
To compile this code, you will need to buy DarkBASIC or DarkBASIC Pro. There is no free version.
However, the language is relatively easy to learn, and is very powerful in terms of 3D.