PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
A procedure can receive parameters. Let's see the different possibilities regarding the management of parameters in WLanguage:
  • Passing parameters: by reference and value.
    By default, when calling a procedure, the parameters are passed by variable (by address or by reference). You also have the ability to pass the parameters by value in WLanguage.
  • Typecasting the parameters.
    The description of the parameter type is optional. However, you have the ability to force the typecasting of parameters.
  • Optional parameters.
    Some of the parameters passed to a procedure can be optional parameters.
  • Variable parameters.
    You have the ability to handle the parameters passed to a procedure using a variable number of parameters.
  • Versions 15 and later
    Useful parameters.
    You have the ability to manage the parameters declared but not used.
    New in version 15
    Useful parameters.
    You have the ability to manage the parameters declared but not used.
    Useful parameters.
    You have the ability to manage the parameters declared but not used.
Reminder:
  • In WLanguage, there is no distinction between the procedures and the functions. The procedures and the functions are managed in the same way.
  • Versions 16 and later
    You have the ability to create overloaded procedures. See Prototype overload for more details.
    New in version 16
    You have the ability to create overloaded procedures. See Prototype overload for more details.
    You have the ability to create overloaded procedures. See Prototype overload for more details.
  • Versions 20 and later
    WINDEV You have the ability to use named parameters. See Calling a procedure: Named parameters for more details.
    New in version 20
    WINDEV You have the ability to use named parameters. See Calling a procedure: Named parameters for more details.
    WINDEV You have the ability to use named parameters. See Calling a procedure: Named parameters for more details.
  • A parameter can correspond to any type of variable. A class instance can be passed as parameter to a procedure.
Versions 16 and later
Universal Windows 10 App This feature is available for Windows Phone applications.
New in version 16
Universal Windows 10 App This feature is available for Windows Phone applications.
Universal Windows 10 App This feature is available for Windows Phone applications.
Versions 18 and later
Universal Windows 10 App This feature is available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This feature is available in Windows Store apps mode.
Universal Windows 10 App This feature is available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This feature is available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This feature is available in Universal Windows 10 App mode.
Universal Windows 10 App This feature is available in Universal Windows 10 App mode.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment