Structure of a SIL program
The structure of a SIL™ program should look like:
[inclusions]
[use declarations]
[variable declarations]
[user-defined functions declarations]
[actual code]
Inclusions
Include statements must be the first statements in your program in the absence of the use declarations. These allow you to import libraries of user-defined functions or execute certain fragments of code.
Learn more
For more information see Inclusions.
Use Declarations
To save you some typing, we added at this version packages for standard functions.
Learn more
For more information and usage, see Packages
User-Defined Functions declarations
Here you can define any functions you want to use in the code. These can considerably improve the readability and maintainability of the code.
Learn more
For more information see User-Defined Functions (UDR).
Actual code
This is the body of the program. Here you will do any necessary modifications to the issue. The body can also contain definition of local variables and calls to the imported or defined functions in the steps above.
Contents