|
|
|
|
|
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"]>, ... <Paramètre optionnel 1> <utile [="Raison"]> = <Valeur>, <Paramètre optionnel 2> <utile [="Raison"]> = <Valeur>, ...) where "Reason" corresponds to an explanation given by the developer. For example: // -- Declaration of Drawing procedure PROCÉDURE Drawing(coorLine <useful = "line coordinate">, coorColumn <useful = "column coordinate">) ...
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|