HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share | 
 

 Tutorial: Hello World In DarkBASIC

View previous topic View next topic Go down 
AuthorMessage
pencillio
Administrator
Administrator


Posts : 8
Join date : 2008-06-14
Age : 23

PostSubject: Tutorial: Hello World In DarkBASIC   Sat Jun 14, 2008 9:34 pm

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.
Back to top Go down
View user profile http://www.theorganpipescom
 
Tutorial: Hello World In DarkBASIC
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Tutorial: Building a World Part 11 & 12 by Stw402
» Tutorial - How to create a world using Real-World Height data by Napalm_VFR
» Forge World 40 K
» Great Tank and Weathering tutorial
» Power Sword Tutorial (with more to follow)

Permissions in this forum:You cannot reply to topics in this forum
The Organ Pipes :: Programming :: DarkBASIC-
Jump to: