INIT
Description
This action is called at the start of the template.
Template
Standard process (interactive mode)
Use
It essentially serves to make the declarations of the resources required and the initialisations, for example:
to declare the global or local variables with the syntaxes of the type
Local Integer MA_VARIABLE
Global Char POUR_TOUS(100)
to assign the global variables
to open the tables with instructions of the type
If clalev ([F :XXX]) = 0 : Local File XXXXX : Endif
to interrupt the process by setting GERR=1 and potentially assigning a message to GMESSAGE.
to assign a title to the window by assigning the variable TIT.
to assign a confirmation message by assigning the variable TIT.
to interrupt the process by setting FIN = 1.