IsByRef() [v1.1.01+]

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

TrueOrFalse := IsByRef(ParameterVar)

매개변수

ParameterVar

A reference to the variable. 예를 들어: IsByRef(MyParameter).

반환 값

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

ByRef parameters

예제

Reports 1 (true) because Param is a ByRef parameter and was supplied with a variable.

MsgBox, % Function(MyVar)

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