Post Reply 
The why is there a syntax error thread
02-19-2014, 07:19 AM
Post: #5
RE: The why is there a syntax error thread
(02-19-2014 06:44 AM)patrice Wrote:  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
Awesome, thank you. Is there a way I can have the result copied to the cas screen? I know I can get that with typing int2(...) in cas, but I love the easy input box so I don't need to remember the order of the input parameters.
Also, can I copy program names to the cas screen from the catalog?
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 - DeucesAx - 02-19-2014 07:19 AM



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