The why is there a syntax error thread
02-19-2014, 06:44 AM
Post: #4
 patrice Member Posts: 180 Joined: Dec 2013
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);