Yup. You can do something like this: put theArray[1] into theTempArray xyz theTempArray put theTempArray into theArray[1]
Bob On Mar 9, 2012, at 3:30 PM, Pete wrote: > I think I already know the answer to this so just confirming in case I'm > missing something > > Let's say I have a handler with a parameter that is passed by reference, eg > "command xyz @parm1". If I try to pass an element of an array, eg "xyz > theArray[2]", I get a runtime error. If, however, I pass the whole array, > eg "xyz theArray", all seems to work fine. > > That seems somewhat strange to me but apparently that's the way it is? > > > > -- > Pete > Molly's Revenge <http://www.mollysrevenge.com> > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
