Returns a non-zero number if a ByRef parameter of a function was supplied with the specified variable.
TrueOrFalse := IsByRef(UnquotedVarName)
The name of the variable (not in quotes). For example: IsByRef(MyVar).
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.
MsgBox Function(MyVar)
Function(ByRef Param)
{
return IsByRef(Param)
}