No because you are passing a reference, not the value itself. That is how the otherwise sandboxed command knows about the variable t outside itself. It would otherwise create an entirely new t if you didn't pass by reference. It's my understanding that presently you cannot pass an array element by reference. You can only pass the entire array.
Instead try passing the entire array, then checking inside your command to see if it is an array and then act accordingly. Bob On Sep 30, 2012, at 4:31 PM, Alex Tweedly wrote: > So doesn't > increment t > become > increment (the value of t) _______________________________________________ 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