[203] in Coldmud discussion meeting

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

Re: names

daemon@ATHENA.MIT.EDU (Sun Apr 3 20:49:36 1994 )

Date: Sun, 03 Apr 1994 18:47:15 -0600 (MDT)
From: the Lynx <BRANDON@cc.usu.edu>
To: coldstuff@MIT.EDU
X-Vms-To: COLDSTUFF

Riche:
< Personally, I'd like to see something like:
< dbref: $foo
< dbnum: #1234
< This keeps things pretty unambiguous, and highlights much better the
< relationship and function of the two types of values.

I like this the best (ponders):

object:
  $root,dbref_symbol   'object
  $root.dbref()        =>  "$object"
  $root.dbref_symbol() return dbref_symbol;
  $root.name()         return .dbref()
  $vr.name()           return name;
  $vr,name             ["chair", "blue", 'informal] 
  $physical.name()     All the funky stuff I do with .name right now:
           .name()     => "the blue chair"
           .name('actual)  => "chair"
                       etc.

anyhsm, I love it...

_Brandon