Archive of UserLand's first discussion group, started October 5, 1998.
Re: system.verbs.builtins.log
Author: Doug Baron Posted: 12/15/1998; 3:14:48 PM Topic: New sample bits Msg #: 1282 (In response to 1195) Prev/Next: 1281 / 1283
Dave,I see only one glitch in log.addToGuestDatabase. This line should go away:
try {delete (@[f].["item #1"])}
In general, there's no need to explicitly delete the default item anymore, unless your script is making assumptions about what else is in the table and an extra item will screw it up. In 5.1.5, these default items take care of themselves; they will go away.
In this case, there's no way a default item can appear spontaneously after you just created the table and haven't opened it. And "f" is undefined, so this try is always failing anyway -- after burning a few cycles. ;->
Doug
There are responses to this message:
- Re: system.verbs.builtins.log, Dave Winer, 12/15/1998; 3:22:48 PM
This page was archived on 6/13/2001; 4:46:36 PM.
© Copyright 1998-2001 UserLand Software, Inc.