| stop |
Stops the program execution (calls "exit(0)"). |
| import |
Imports a package (using namespace). |
| include |
Directly includes a file into the source code. This should not be used to import declaration header files. |
| ret |
Declares a return statement inside a function. If the function does not has the 'void' type denoter as return type, the 'ret' statement must be followed by an expression. |
| type |
Declares a template typename or a type definition, e.g. "class Test<type t=""> { ... }" or "type GLint := int".</type> |
| package |
Declares a package namespace, e.g. "package Video { ... }" or "package Video.Renderer.OpenGL { ... }". |
| static |
Declares a function or variable to be static. |
|
|
| if |
Declares a conditional block. Must be followed by a boolean expression. |
| elif |
Declares an alternative conditional block. Must be leaded by an 'if' block. |
| else |
Declares the default alternative block. Must be leaded by an 'elif' or 'if' block. |
|
|
| switch |
Declares a switch/case statement. Must be followed by at least one 'case' or a single 'def' statement. |
| case |
Declares a case block in a switch/case statement. The expression can be a constant- integral, boolean or string expression. |
| def |
Declares the default block in a switch/case statement. |
|
|
| loop |
Declares a loop. This can be a for-, for-each- or while loop. |
| do |
Declares a do-while loop. Must be followed by a command block and the closing 'loop' statement. |
| next |
Jumps to the next iteration in the current loop (continue) or to the next case block in a switch/case statement. |
| break |
Break out of a loop. |
|
|
| private |
Declares the following statements to be private (inside a class and the global scope). |
| public |
Declares the following statements to be public (inside a class and the global scope). |
| protect |
Declares the following statements to be protected (inside a class only). |
|
|
| class |
Declares a new class. |
| inherit |
Declares a class to inherit (public) for other classes, e.g. "class Test inherit Foo, Bar { ... }". |
| init |
Declares an initializer function inside a class (or rather a constructor). |
| release |
Declares the release function inside a class (or rather the destructor). |
| abstract |
Declares a class member function to be abstract (or rather pure virtual). |
| virtual |
Declares a class member function to be virtual. In that case, classes - which inherit from this class - may override the function (polymorphism). |
|
|
| this |
Returns a raw- or smart pointer depending on the l-value's type. |
|
|
| new |
Allocates a new managed memory object (smart pointer). |
|
|
| try |
Declares a try-catch block. Must be followed by at least one 'catch' block. |
| catch |
Declares a catch block. |
| throw |
Throws an exception. |
|
|
| enum |
Declares an enumeration. |
| flags |
Declares a flag enumeration. Its entries can only be initialized with a combination of other entries declared in this flag enumeration. |