Friday, 20 February 2015

Tutorial: Hello world

Code tutorials: Hello world

Programming language: DarkBASIC Pro.

Hello! In this post I will show you how to say your first words. "Hello world!". This part of the post will be for DarkBASIC Pro, a programming language by TGC (The Game Creators)


First step: Create a project.

Go to file -> new -> project


Enter the necessary information (Name: the name of your project, Location: Where your project will be stored.) and click ok.

Now for the code.

You should see:







NOW FOR THE CODE

To print in DarkBASIC all you need to type is:

print "Hello world!"

print: Tell the computer to print some text.
"Hello world!": Tell the computer what to print. It does not need to say Hello world! but it does need speech marks around it.

No comments:

Post a Comment