> I propose adding a single new C command to Rivet/Tcl to provide interfaces > to all these tables for getting, setting and inventorying their contents. > > Something like > > table get tablename key > table set tablename key value > table unset tablename key > table list tablename > > I know there is some ability to support multiple entries with the same key. > Right now I'm punting on that but I suppose it might need that. Perhaps > > table add tablename key value > > Anybody have any thoughts, concerns, objections, accolades, remarks, hot > buttons, flames, etc?
I'm fine with whatever. You might look at the [var] command as an example of how to handle things that might have more than one value, and so don't fit neatly into a hash table. On the other hand, I don't think this is likely to see a whole lot of use, so maybe it's best to just keep it simple. -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]