autodoc.git / modref / ex / cpp_3A_3A / defined.html

version» Context lines:

autodoc.git/modref/ex/cpp_3A_3A/defined.html:71:   <dd><p><code><code class='datatype'>bool</code> <b><span class='method'>defined</span>(</b><code class='datatype'>mixed</code> <code class='argument'>identifier</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Check whether an identifier is a cpp macro or not.</p>   </dd>   <dt class='head--doc'>Returns</dt>   <dd class='body--doc'><p><a class='ms reference' href='../cpp_3A_3A/defined.html'>defined</a> returns true if the symbol given as argument    is defined.</p>   </dd>   <dt class='head--doc'>Note</dt> - <dd class='body--doc'><p><tt>#if defined(MY_DEF)</tt> is equvivalent to + <dd class='body--doc'><p><tt>#if defined(MY_DEF)</tt> is equivalent to    <tt>#ifdef MY_DEF</tt>.</p>   </dd>   <dt class='head--doc'>See also</dt>   <dd class='body--doc'><p><a class='ms reference' href='../cpp_3A_3A/defined.html'>#if</a>, <a class='ms reference' href='../cpp_3A_3A/defined.html'>#ifdef</a>, <a class='ms reference' href='../cpp_3A_3A/constant.html'>constant()</a></p>   </dd></dl>       </article>    </div>    </div>    </div>