Since Livecode version 7.0 it’s also possible to pass an array element by reference and that also works with “Dispatch”.
Example: on mouseUp Put "27" into tTemp["tKey"] Dispatch "AdjustSetting" with tTemp["tKey"] # Now tTemp["tKey"] = 62 put tTemp["tKey"] end mouseUp on AdjustSetting @pSetting Add 35 to pSetting end AdjustSetting _______________________________________________ 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