[1205] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next next in chain last in chain last

Re: [COLD] cold stuff ;)

daemon@ATHENA.MIT.EDU (Thu Jan 2 17:08:35 1997 )

Date: Thu, 2 Jan 1997 15:02:07 -0700 (MST)
From: Brandon Gillespie <brandon@cold.org>
To: coldstuff@cold.org

> I don't honestly see the problem with returning #-1

Sorry, my mistake--it returns '0' or an objnum.  The objnum is not
guaranteed to be a valid objnum (just whatever it was set to).  This way
you can do something like:

     len = user() ? user().randominfo() : defaultinfo;

And you don't have to dirty up your core by adding 'randominfo' to $sys,
$connection and any other object that would originate a task. 

Sorry for the tone tho--The hard drive on my computer crashed this morning
(second drive to do so), so I'm not a happy camper today :b

-Brandon Gillespie