get the input as a string and then use it as the first argument. what you have been doing is getting 1 value, which was created by x^2+y^2. if x and y were 1, w would be 1, not "x^2+y^2". isnt there any str1-like variable in 68k?
yes. i know. you want the users to type in the equations themselves. however, what you have been doing is setting one value for the variable you want to use as the equation:
what you want:
graph : f(x,y) for all x and y
what you seem to be doing:
graph: 1 // some random constant
User never had the option to put something for x or y. I never put nothing for x or y so i don't know from where it seems i was doing what you suggested?
But to insure myself i tested it. From home screen I recalled every variable in which program stored the function.
I got the function itself f(x,y) not the value.
If I graph function itself, than it works, but if i graph a variable that holds the exact same function (not as a value but a function f(x,y)) it returns an error.
Is there any way around this. Maybe with another function than Graph?
"If I graph function itself, than it works, but if i graph a variable that holds the exact same function (not as a value but a function f(x,y)) it returns an error."