i have an issue that i am not sure how to tackle.
i have a property list that i would like to transform into var:value pairs.
set plist to (a:10,b:15)
repeat with each item of keys(plist)
set it to plist.(it)
put b – should output 15, instead it puts “b”
is there any way to do this?
I just thought of another example of what i want to do.
set variablePtr to “a”
set value(variablePtr) to 10
put a – should output 10
i have read a bit about references but i am not sure that’s what i want… because potentially the local variable does not exist yet.
is there no hope for what i want to do?