Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Icon > Re: list of tab...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 145 of 189
Post > Topic >>

Re: list of tables

by Steve Wampler <swampler@[EMAIL PROTECTED] > Feb 5, 2007 at 10:02 AM

Steve Wampler wrote:
> ghoulieh2@[EMAIL PROTECTED]
 wrote:
>> I want to make a few lists of tables, but I don't know exactly what
>> I'm doing.
>> tbl := list(16,  table());
>> This just makes the lists that all point to the same table, how do you
>> make them have their own table?
> 
> This should work (untested!):
> 
>    every put(!(tbl := list(16)), table())

Oh, and my son sent me the following idiom a few months ago:

    procedure list(C)
        L := []
        while put(L, @[EMAIL PROTECTED]
(C[1]))
        return L
    end

which works when invoked as (say):

    alist := list{(1 to 16, table())}

[note the curly braces!]

-- 
Steve Wampler -- swampler@[EMAIL PROTECTED]
 gods that smiled on your birth are now laughing out loud.
 




 6 Posts in Topic:
list of tables
ghoulieh2@[EMAIL PROTECTE  2007-02-05 08:42:21 
Re: list of tables
"Frank J. Lhota"  2007-02-05 12:25:10 
Re: list of tables
Steve Wampler <swample  2007-02-05 10:02:27 
Re: list of tables
Steve Wampler <swample  2007-02-05 09:56:36 
Re: list of tables
ghoulieh2@[EMAIL PROTECTE  2007-02-05 12:13:06 
Re: list of tables
"Joel" <bolo  2007-02-06 08:09:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 4:28:27 CDT 2008.