I (re)found this under "Procedures and functions" in the help and don't follow the way it works. Could someone please explain the processes behind it so I can understand it more fully.
Code: Select all
INPUT "Enter a variable name: " name$
INPUT "Enter a numeric value for the variable: " value$
dummy% = EVAL("FNassign("+name$+","+value$+")")
PRINT "The variable "name$" has the value ";EVAL(name$)
END
DEF FNassign(RETURN n, v) : n = v : = 0
Matt