Skip to end of banner
Go to start of banner

Structure of a SIL program

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

The structure of a SIL™ program should look like:

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

Use Declarations

To save you some typing, we added at this version packages for standard routines. 

Learn more

For more information and usage, see Packages

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 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


Contents

  • No labels