|
|
|
|
|
Useful parameters of a procedure
A procedure can declare some parameters that are not immediately used. In this case, a warning appears in the code editor, indicating that the local variable is not used. To avoid this warning, the variable name must be followed by a specific extension attribute. The following syntax must be used: PROCEDURE <Procedure name>(<Parameter 1> <useful[="Reason"]>, ... <Optional Parameter 1> = <Value> <useful [="Reason"]>, <Optional Parameter 2> = <Value> <useful [="Reason"]>, ...) where "Reason" corresponds to an explanation given by the developer. For example: // -- Declaration of Drawing procedure PROCEDURE Drawing(coorLine <useful = "line coordinate">, coorColumn <useful = "column coordinate">) ...
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|