<head><title>ColdC: Function/Method Reference: lookup()</title></head> <body> <h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: lookup()</h1> <hr> <p> <font size=+1><i>OBJNUM</i> <b>lookup</b>(<i>SYMBOL <b>name</b></i>)</font> <p>This function attempts to lookup the name <b>name</b> as an object name and returns the appropriate object number. Using this function object #1 ($root) could be looked up with the ColdC code <code>lookup('root)</code>). If <var>name</var> is not assigned as an object name, the error <code>~namenf</code> is thrown. <p><hr size=4><p align=center><i>Last Modified on Feb 28 1996</i> <br><i>Copyright © 1995, 1996, Brandon Gillespie</i> </body>