Hello Mike, thanks for answering. Thats what I am doing and it's not a too big deal. I just wondered, if there is a more straight forward way, what most times is. But this time it seems, it is not. Thanks Tiemo
> -----Ursprüngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von Mike Bonner > Gesendet: Montag, 5. August 2013 11:55 > An: How to use LiveCode > Betreff: Re: How to split an array to get a special column as index? > > Someone will probably correct me, but I suspect a re-arrangement is the > only way. And if you're doing that, you might as well just use a repeat for > each line loop and manually build the array as you go. > > > On Mon, Aug 5, 2013 at 1:55 AM, Tiemo Hollmann TB > <toolb...@kestner.de>wrote: > > > Hello, > > > > when having a simple table, I can split this table into an one > > dimensional array by using "return and the table separator", e.g. > > > > split myTable by return and ";" > > > > to get the first column of the table as the array index. > > > > Is there any trick to split the same table getting any other column as > > the array index? Or do I have to create a copy of the table first and > > rearrange the columns, so that always the wanted index is the first > column? > > > > Thanks for any hints. > > > > Tiemo > > > > > > > > > > > > _______________________________________________ > > 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 _______________________________________________ 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