CLIM mail archive
[Prev][Next][Index][Thread]
Gestures for commands more than 1 arg?
Date: Fri, 17 Sep 1993 10:37:00 -0700
From: "Bruce R. Miller" <miller@cam.nist.gov>
Sigh, that's what I was afraid of. I was thrown off by the fact that a
single arg command apparently doesn't invoke the command-parser at all.
'Cause it doesn't have to reparse the whole line in the process of
reading subsequent args.
This is one of those cases where it's trivial to know if you've got a
THING, but harder to find the thing associated with an arbitrary name.
All the _real_ THINGS live elsewhere on the net; I fetch them
incrementally as needed. If I once open the door to allow someone to
type in the name of a THING, I'm kind of obliged to recognize _any_ THING...
Still, I'll figure it out.
Well, it's kind of ugly, but feel free to "echo" your things in the
form of some kind of unique ID or serial number which your parser can
quickly map back into the original object. That should discourage
casual use of the parser (:-)and free you from the obligation of
parsing arbitrary input and turing it into things.
References:
Main Index |
Thread Index