[Coldstuff] More suggestions

Brandon Gillespie brandon@roguetrader.com
Fri, 4 Jan 2002 09:34:01 -0700


On Fri, Jan 04, 2002 at 05:00:41PM +0100, xmath wrote:
> >  > 6. [Genesis] Why does objnum() exist? Why not do toint(this())
> >  > instead?
> >
> >Cognitive differences.  You're asking for the objnum.
> 
> this() is the objnum, with data type OBJNUM :-)
> anyway, it's not important ofcourse.. it just seemed a little redundant to me

>From ColdC this() is a dbreference, which has an object number and an
object name.  You can call both objnum() to retrieve the number and
objname() to retrive the name.

-Brandon