Use section initialization to execute code the first time you execute a program.

For example, open an interface in a section initialization code block. You can also use section initialization to prepare the program sequence.

The section initialization code block is closed with an endsection keyword.

The section initialization code block is optional.

Example

program
  section globals
    // global variables
  endsection
  
  // local variables
  int32 i,j,k,n
  real64 x,y
  
  section initialization
    i = 1
    x = 1.0
    y = -0.1E-100
  endsection
  
  // ...program code...
endprogram