[Prev][Next][Index][Thread]

# Re: Arguments -- what does "any" mean?

- Date: Tue, 12 Dec 1995 06:26:06 PST
- From:
- Content-Length: 1000
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=US-ASCII
- In-Reply-To: <Pine.LNX.3.91.951212195527.227A-100000@iman.internet.co.nz> from "Ian Macintosh" at Dec 12, 95 00:07:11 am

    Ian Macintosh wrote:
    >
    > On Mon, 11 Dec 1995, Kirrily Robert wrote:
    >
    > > Now, why is it that neither of these two arg types (this none any and
    > > this any any) seem to work?  Is there a way of getting it to work
    > > short of turning the radio into a feature object, or putting the verb
    > > somewhere on a player class?  Enquiring minds want to know!
    >
    > Either a feature object (actually a 'here:huh' verb), or on the player
    > itself is the only solution here, unless you get sneaky in #0:do_command()
    >

    sure there are other ways to make it work.

    "bc any with this", for example. but that's no fun to type, and you'd have
    to put the "any" in quotes to make sure it didn't contain any
    prepositions along the way.

    how about "bc any any any" and then program your verb so that you strip
    off the first word, and broadcast the rest? the verb won't get called
    unless the first word is a valid name for the object.

    or... find a different verbname that sounds right with a preposition.

    sg.

References:

- Re: Arguments -- what does "any" mean?

- From: Ian Macintosh <ian@iman.internet.co.nz>

- Prev: Re: Arguments -- what does "any" mean?
- Next: Avoiding kill_task(task_id())...
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index