</head> <body> <h1>IsByRef() <span class="ver">[v1.1.01+]</span></h1> <p>Returns a non-zero number if the specified <a href="../Functions.htm#ByRef">ByRef parameter</a> was supplied with a variable.</p> <pre class="Syntax">TrueOrFalse := <span class="func">IsByRef</span>(ParameterVar)</pre> <h2 id="Parameters">Parâmetros</h2> <dl> <dt>ParameterVar</dt> <dd><p>A reference to the variable. Por exemplo: <code>IsByRef(MyParameter)</code>.</p></dd> </dl> <h2 id="Return_Value">Return Value</h2> <p>This function returns 1 if <em>ParameterVar</em> is a <a href="../Functions.htm#ByRef">ByRef parameter</a> and the caller supplied a variable; or 0 if <em>ParameterVar</em> is any other kind of variable.</p> <h2 id="Related">Tópicos relacionados</h2> <p><a href="../Functions.htm#ByRef">ByRef parameters</a></p> <h2 id="Examples">Exemplos</h2> <div class="ex" id="ExBasic"> <p><a class="ex_number" href="#ExBasic"></a> Reports 1 (true) because <var>Param</var> is a <a href="../Functions.htm#ByRef">ByRef parameter</a> and was supplied with a variable.</p> <pre>MsgBox, % Function(MyVar) Function(ByRef Param) { return IsByRef(Param) }</pre> </div> </body> </html>