Array question
Posted: Thu Aug 23, 2012 8:10 pm
if I want to use a variable instead of a literal for "object_label" in the following:
put parameter_value into myArray[1]["object_label"] // store the new value
what is the correct syntax? I've tried:
put quote & parameter_name & quote into tString
put parameter_value into myArray[1][tString] // store the new value
but that didn't work.
-- Mark
put parameter_value into myArray[1]["object_label"] // store the new value
what is the correct syntax? I've tried:
put quote & parameter_name & quote into tString
put parameter_value into myArray[1][tString] // store the new value
but that didn't work.
-- Mark