Archive of UserLand's first discussion group, started October 5, 1998.

Re: Why no Table.setDisplay() command?

Author:André Radke
Posted:4/13/1999; 3:52:57 PM
Topic:Why no Table.setDisplay() command?
Msg #:4994 (In response to 4991)
Prev/Next:4993 / 4995

So if table "whackynames" has an element "grognard" with value "frob", I'd like to refer to this first element by saying whackynames[1] or some other equally easy reference.

I am still not sure if I understand you correctly, but maybe this example will help:

local (ix);
for ix = 1 to sizeof (examples) {
    msg (examples[i])}

Or, using addresses:

local (ix, adr, adrTable = @examples);
for ix = 1 to sizeof (adrTable^) {
    adr = @adrTable^[ix];
    msg (adr)}

There are responses to this message:

This page was archived on 6/13/2001; 4:49:20 PM.

© Copyright 1998-2001 UserLand Software, Inc.