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

# Re: Wierd Verb Stuff - Need Help!

- Date: Sat, 27 Jan 1996 14:08:58 PST
- From:
- Cc: moo-cows <moo-cows@parc.xerox.com>
- Content-transfer-encoding: 7BIT
- Content-type: TEXT/PLAIN; charset=US-ASCII
- In-reply-to: <Pine.A32.3.91.960127133127.17956B-100000@freenet.edmonton.ab.ca>

    On Sat, 27 Jan 1996, Chris Jones wrote:

    > [Verb code may not work; making this off the top of my head]
    > cmd = "foo";
    > player:cmd();
    > [Could this be setup so that the second line will execute player:foo(),
    > and then if cmd is changed (say to "bar"), that it would execute
    > player:bar()?]

    Try this...

    cmd = "foo";
    player:(cmd)();

    --Nate

    ------how original-a signature at the end of every email message------
    Nate Massey    G -d+ H s+:- !g(+) p?+ au- a-- w++ v?(*) C++ SU++ HU P+
    Geek of MOOs             L+ 3- N+ E K- W M@ !V po Y@ t+ 5 !j R- G? tv-
    nmassey@lfa.lfc.edu         tv- b- B+(--) e u** h!(*) f* r++(--) n@ y?

References:

- Wierd Verb Stuff - Need Help!

- From: Chris Jones <cjones@freenet.edmonton.ab.ca>

- Prev: Re: Wierd Verb Stuff - Need Help!
- Next: Re: Wierd Verb Stuff - Need Help!
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index