8 lines
269 B
Text
8 lines
269 B
Text
|
|
INPUT "Enter a variable name: " name$
|
||
|
|
INPUT "Enter a numeric value: " numeric$
|
||
|
|
dummy% = EVAL("FNassign("+name$+","+numeric$+")")
|
||
|
|
PRINT "Variable " name$ " now has the value "; EVAL(name$)
|
||
|
|
END
|
||
|
|
|
||
|
|
DEF FNassign(RETURN n, v) : n = v : = 0
|