It looks like you're new here. If you want to get involved, click one of these buttons!
1. (set: $commandParams to (a: "aparam0", "avalue0", "aparam1", "avalue1")) 2. (print: $commandParams's 1st)=aparam0 (print: $commandParams's 2nd)=aparam1 3. (print: (datamap: "dparam0", "dvalue0", "dparam1", "dvalue1")'s "dparam0")=dvalue0 4. (print: (datamap: $commandParams)'s "aparam0")=gives an error 5s. (set: $datamap0 to (datamap: "dparam0", "dvalue0", "dparam1", "dvalue1")) 5p. correct: {(print: $datamap0)} 6s. (set: $datamap1 to (datamap: $commandParams)) 6p. error:0 = {(print: $datamap1)}
Comments
This should do what you want