synonyms
Alex Tweedly
alex at tweedly.net
Thu Jun 29 12:31:21 EDT 2017
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.
More information about the use-livecode
mailing list