PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..ByAddress is used to find out whether a parameter of a procedure was passed by address or not.
If the parameter was passed by address, its value can be modified in the procedure code.
Versions 24 and later
Notes:
  • This property is identical to ..ByReference.
  • The concepts "Parameter pass by reference" and "Parameter pass by address" are identical.
New in version 24
Notes:
  • This property is identical to ..ByReference.
  • The concepts "Parameter pass by reference" and "Parameter pass by address" are identical.
Notes:
  • This property is identical to ..ByReference.
  • The concepts "Parameter pass by reference" and "Parameter pass by address" are identical.
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
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
Subscript is int = 1
Subscript2 is int = 3
Subscript3 is int = 4
// Before the call to the procedure, the variables have their default values
AddOne(Subscript, Subscript2, Subscript3)
// After the call to the procedure, the values of the variables have been changed
// -- Declare the procedure
PROCEDURE AddOne(*)
FOR I = 1 _TO_ MyParameters..Occurrence
IF MyParameters[I]..ByAddress = True THEN
MyParameters[I] += 1
END
END
Syntax
<Result> = <Parameter name>..ByAddress
<Result>: Boolean
  • True if the parameter was passed by address,
  • False otherwise.
<Parameter name>: 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