Jump to content

Statements

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
clookid

clookid

    Programmer

  • Members
  • PipPipPipPip
  • 125 posts
Statements

All statements end with a ;

Whitespace is ignored, so you can stack several commands on one line, as long as you end every statement with a ;

Single line comments begin with // and finish at the end of the line

Multiple line comments begin with /* and end with */

You can group operations in brackets ( ) to make them more readable to humans. In fact it's highly recommended anyway so you know exactly what's going to happen when you run the code.

This tutorial was written by another one of my friends, if you would like to use this tutorial please send me a PM

#2
xtraze

xtraze

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
Very simple and at the same time cannot ignore any of these as if we miss a single ; many problems can happen and its hard to locate the missing ; and therefor it becomes harder.