question
- Posted by George Walters <gwalters at sc.rr.com> Aug 20, 2001
- 513 views
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