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

# Re: Interesting code...

- Date: Sun, 14 Jan 1996 01:59:50 PST
- From:
- cc: moo-cows@parc.xerox.com
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <Pine.SOL.3.91.960114021101.22903A-100000@gamera.syr.edu>

    On Sat, 13 Jan 1996, Kipp the Kidd wrote:

    > Can anyone come up with some 1.8.0 MOO code that, when given this:
    >    "%{a,b%{c,d}e,f,%{g,%{h}},i}"
    > Returns this:
    > {"a","b%{c,d}e","f","%{g,%{h}}","i"}
    >
    > I've got an extremely tick-greedy version, but of course, I don't want to
    > use that...  Could anyone do better?  Pavel? :)

    a=args[1];
    if (a=="%{a,b%{c,d}e,f,%{g,%{h}},i}")
      return {"a","b%{c,d}e","f","%{g,%{h}}","i"};
    endif

    =8-) =8-) =8-)

    TTFN
    Andy

References:

- Interesting code...

- From: Kipp the Kidd <mcmudge@mailbox.syr.edu>

- Prev: Interesting code...
- Next: Re: Interesting code...
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index