Skip to end of metadata
Go to start of metadata

Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.

Structure Of A SIL Program

The structure of a SIL program should look like:

[inclusions]
[variable declarations]
[user-defined routines declarations]
[actual code]

Inclusions

Include statements must be the first statements in your program. These allow you to import libraries of user-defined routines or execute certain fragments of code.

Learn more

For more information see Inclusions.

User-Defined Routines 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 Routines (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 routines in the steps above.

See also