Hi Larry: Your situation is very explicable. In your script you're treating "thisVar" as an array, instead of accessing the array that you put into thisVar. You're trying to use one variable to refer to another.
If I understand the result you want, one way would be to use the value function, to retrieve the data of the array stored in thisVar: put "wgList0" & N into thisVar put the keys of value(thisVar) into theseKeys Hope this works for you. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/23/14 11:07 PM, "la...@significantplanet.org" <la...@significantplanet.org> wrote: >Hello, > >I'm using 6.6.3 on Windows XP. > >This line of code works just fine: >put the keys of wgList03 into theseKeys > >but the following lines of code do NOT work: (where N is 3) -- and yes, >it IS a ZERO after wgList > >put "wgList0" & N into thisVar > >put the keys of thisVar into theseKeys > >To me, this is just inexplicable and very frustrating. Any help will be >greatly appreciated. > >Thanks, > >Larry >_______________________________________________ >use-livecode mailing list >use-livecode@lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode