ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage syntax / WLanguage procedures / Procedure parameters
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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">)
...
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help