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

# a programming prob.

- Date: Tue, 13 Feb 1996 21:12:00 PST
- From:
- Content-Type: TEXT/PLAIN; charset=US-ASCII

    I was wondering if anyone here could help me out. say I had a property
    that looked like this...

    OBJECT.PROP = {"foo", {"bar", {"hello", "there"},
                   "qwerty", {"quaz", {"poi", {"moo", "cows"}}}}};

    and I had a verb that would return the numbers...
          {2, 4, 2, 2, 1}

    so OBJECT.PROP[2][4][2][2][1] would be "moo".
    How would I get another verb to find "moo" using those numbers without
    always having to have the same amount of numbers?

    Please post up any ideas. Thanks alot.

     /\______

     \  ==== --------/|
      | ==== |________|========================================O
     /    ___|-------|      |                                |
     |   /  |               |  miked@freenet.edmonton.ab.ca  |
     |   |_/                |     / Mike duHeaume \          |
     |   |          ________|     |     AKA       |          |________
     |   |         |        |     \  Pyro_Maniac  /          |        |
     |___|         |        |________________________________|        |
                   |        \###|                        |###/        |
                   |         \##|                        |##/         |
                   |          \#|                        |#/          |
                   |___________\|                        |/___________|

Follow-Ups:

- Re: a programming prob.

- From: Richard Connamacher <phantom@baymoo.sfsu.edu>

- Prev: Re: a programming prob.
- Next: Programming/DB error?
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index