Post Reply 
EVAL doesn't work in old program
10-20-2017, 07:06 PM
Post: #6
RE: EVAL doesn't work in old program
(10-20-2017 01:29 AM)adrunodro Wrote:  Hi!
I'm trying to use some programs I wrote on the pass but the don't work with the the firmware I use nowadays.
The stops on the function eval

This is an example:

EXPORT YO()
BEGIN
LOCAL k,f;
INPUT({{f,[8]},A,B,H,S},"Data Input",
{"dy/dx=","x0=","y0=","Step=",
"# Steps="});
X:=A;
Y:=B;
PRINT("___________");
PRINT("Solución por Método Euler");
PRINT("");
FOR k FROM 1 TO S DO
PRINT("X="+X);
PRINT("Y="+Y);
Y:=(Y+H*EVAL(f));
PRINT("___________");
X:=(X+H);
END;
PRINT("X="+X);
PRINT("Y="+Y);
END;

Someone could tell me what changed?

Thanks

I don't understand the problem, after I had copied the program into my Emulator I started the program, entered some function (X^2+X, without quotes, upper case X) and the program seems to do what is wanted.
Arno
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: EVAL doesn't work in old program - Arno K - 10-20-2017 07:06 PM



User(s) browsing this thread: 1 Guest(s)