IsByRef()
Returns a non-zero number if a ByRef parameter of a function was supplied with the specified variable.
TrueOrFalse := IsByRef(UnquotedVarName)
Parameters
- UnquotedVarName
The name of the variable (not in quotes). For example:
IsByRef(MyVar)
.
Return Value
This function returns 1 if UnquotedVarName is a ByRef parameter and the caller supplied a variable; or 0 if UnquotedVarName is any other kind of variable.
Related
Examples
MsgBox, % Function(MyVar) Function(ByRef Param) { return IsByRef(Param) }