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.
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