question

new topic     » goto parent     » topic index » view thread      » older message » newer message

I have the following sequence, as an example.

sequence a,b

    a = {id1,id2,id3}

    b = {
            {id1,1,2},
            {id2,2,4},
            {id3,5,6}
           }

Here's the question

    if setEnable(a, False)        -- works ok and disables all the id's

Why would not

    setEnable(b[1],False)        -- won't work but win32 blows up

I would think that setEnable would cycle over the 1st element of the table
for the length of the table.  This is what I have to do

    for i = 1 to length(b)
        setEnable(b[i][1])
    end for

Am I confused here? If so how could I  solve the problem w/o a loop?


...george

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu