Post Reply 
The why is there a syntax error thread
02-19-2014, 06:44 AM
Post: #4
RE: The why is there a syntax error thread
You don't need to declare LOCAL variables that are already declared as function parameters.
Code:
export int2(xmin,xmax,ymin,ymax,yreal)
BEGIN
local xreal;
xreal:=xmin+((yreal-ymin)/(ymax-ymin));
print(xreal);
END;
and use
RETURN(xreal);
for the answer

Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: The why is there a syntax error thread - patrice - 02-19-2014 06:44 AM



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