The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
EVAL doesn't work in old program
10-20-2017, 01:29 AM
Post: #1
EVAL doesn't work in old program
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
EVAL doesn't work in old program - adrunodro - 10-20-2017 01:29 AM



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