Basic Structure and Syntax

Each Control script will be defined like usual in ANSI-C as function with the identifier main() - without return value (void) and (mostly) without call parameters. The actual code is framed by curly braces - these same braces are also used for highlighting code parts belonging together.

main()

{

// Comment: Program code would be here

/* Further Comments,

on several

rows */

}

Comments within a single row are marked using two slashes // (double slash). For comments that stretch across several rows, use "/*" and "*/".

Each statement will be completed using a semicolon ";". You can decide whether you want to split the code on several rows or summarize several statements on one row. This does not affect the execution of the code. We, however, recommend to structure the code clear and use meaningful indentation.