is it possible (or is there a way) to access and modify a variable from a string of its name:
Code: Select all
eg :
strdef s
s = "INa.g"
I want to print and modify the value of the variable from s
Code: Select all
eg :
strdef s
s = "INa.g"
I want to print and modify the value of the variable from s
Code: Select all
proc assign() {
strdef sTmp
sprint(sTmp,"%s = %s", $s1, $s2)
execute(sTmp)
}