Import "Filename"
Allows declaring external functions and variables from a library or object
VariableName.<type>
Declares an external variable
FunctionName.<type>(<parameter>[ = DefaultValue][, ...]
Declares an external function
EndImport
Ends the Import declarations
IncludeFile "Filename"
Includes the specified source code file at the current position
XIncludeFile "Filename"
The same as IncludeFile, but with protections to avoid including the same file twice.
IncludeBinary "filename"
Will include the file at the current position. Should be done in a Data block
IncludePath "path"
Will set the default path for all subsequent Include files
Macro <name> [(Parameter [, ...])]
Starts a Macro block. A placeholder for code that can be directly inserted into the source code wherever the Macro is called
EndMacro
Ends the Macro block
UndefineMacro <name >
Undefines Macro <name>
MacroExpandedCount
The number of times the Macro has been called/expanded
DeclareModule <name >
Defines the public interface to Module <name>
EndDeclareModule
Ends the public module declaration
Module <name>
Starts the implementation of the Module
EndModule
Ends the Module code block
USeModule <name>
Can use any module that had a previous public declaration
UnUseModule <name>
Removes the previously used module
End [ExitCode]
Ends the program correctly. If ExitCode is specified, the program will return it as the exit code to the OS.
Swap <expression1>, <expression2>
Does an optimized swap of the expressions
Comments