|
|
|
|
|
ByReference (Property) In french: ParRéférence
The ByReference property is used to determine if a procedure parameter was passed by reference. If the parameter was passed by reference, its value can be modified in the procedure code. Remarks: - This property is equivalent to the ByAddress property.
- The concepts "Parameter pass by reference" and "Parameter pass by address" are identical.
Indice is int = 1
Indice2 is int = 3
Indice3 is int = 4
AjouteUn(Indice, Indice2, Indice3)
// -- Declare the procedure PROCEDURE AddOne(*) FOR I = 1 _TO_ MyParameters..Count IF MyParameters[I]..ByReference = True THEN MyParameters[I] += 1 END END
Syntax
<Result> = <Parameter used>.ByReference
<Result>: Boolean - True if the parameter was passed by reference,
- False otherwise.
<Parameter used>: Character string Name of the parameter used. This parameter is defined via the MyParameters keyword, by specifying the index of the parameter used. For example: MyParameters[1] to handle the first parameter passed to the procedure.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|