IsByRef

Returns a non-zero number if the specified ByRef parameter was supplied with a variable.

IsByRef := IsByRef(ParameterVar)

Parameters

ParameterVar

Type: Variable

A reference to the variable. For example: IsByRef(MyParameter).

Return Value

Type: Integer (boolean)

This function returns 1 (true) if ParameterVar is a ByRef parameter and the caller supplied a variable; or 0 (false) if ParameterVar is any other kind of variable.

Related

ByRef parameters

Examples

#1

MsgBox Function(MyVar)

Function(ByRef Param)
{
    return IsByRef(Param)
}