On 29/06/2017 17:17, Mike Bonner via use-livecode wrote:
The thing about passing in as an array is.. its just a different form of
name value pairs, so it sidesteps the whole issue.
alue pairs.
Not quite - there's a crucial difference.
Using an array for name/value pairs, you can pass in an array as an
actual parameter.
You can't do that with strings for the name/value pairs.
put gAData into tA["row"]
put 100 into tA["size"]
DoSomething 12, 4, tA
but you can't do
DoSomething 12, 4, "size=100", "row=" & gAData
because the array gAData can't be automatically converted to/from a
string to pass it.
-- Alex.
_______________________________________________
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