Cold Help System: Programming: ColdC Reference Manual: Functions: Object: lookup()


OBJNUM lookup(SYMBOL name)

This function finds the object number for the object name specified by the argument name. If no object exists with that name, the error ~namenf is thrown. Example:

lookup('root)
=> #1


ancestors() | children() | chparents() | create() | data() | del_objname() | destroy() | has_ancestor() | lookup() | objname() | objnum() | parents() | set_objname()


the Cold Dark