HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share | 
 

 Tutorial: Hello World In DarkBASIC

Go down 
AuthorMessage
pencillio
Administrator
Administrator


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

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
Back to top 
Page 1 of 1

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