PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Property ParAddress allows to know if a parameter of an Procedure has been passed through Address or not.
If the parameter was passed by address, its value can be modified in the procedure code.
Versions 24 and later
Remarks:
  • This property is identical to ByReference.
  • The concepts "Parameter pass by reference" and "Parameter pass by address" are identical.
New in version 24
Remarks:
  • This property is identical to ByReference.
  • The concepts "Parameter pass by reference" and "Parameter pass by address" are identical.
Remarks:
  • This property is identical to ByReference.
  • The concepts "Parameter pass by reference" and "Parameter pass by address" are identical.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Versions 21 and later
Apple Watch This property is now available in Apple Watch mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This property is now available in Apple Watch mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Apple Watch This property is now available in Apple Watch mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
Indice is int = 1
Indice2 is int = 3
Indice3 is int = 4
// Avant l'appel de la procédure, les différentes variables ont leurs valeurs par défaut
AjouteUn(Indice, Indice2, Indice3)
// Après l'appel de la procédure, les variables ont toutes changé de valeur
// -- Declare the procedure
PROCÉDURE AddOne(*)
FOR I = 1 _TO_ MyParameters.Count
IF MyParameters[I].ByAddress = True THEN
MyParameters[I] += 1
END
END
Syntax
<Result> = <Parameter used>.ByAddress
<Result>: Boolean
  • True if the parameter was passed by address,
  • False otherwise.
<Parameter used>: Character string (with or without quotes)
Name of the parameter used. This parameter is defined via the MyParameters keyword, by specifying the subscript of the parameter used. For example: MyParameters[1] to handle the first parameter passed to the procedure.
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment