Calling a Program from Home Page. What's Wrong
|
12-10-2014, 07:32 AM
Post: #1
|
|||
|
|||
Calling a Program from Home Page. What's Wrong
New user.
Wrote my first program. Catesian Coord System P2RN - Polar 2 Rectangular North Coordinate A = Azimuth D = Distance Return a difference in Northing ================== EXPORT P2RN(A,D) BEGIN // LOCAL N; N:=COS(A)*D; RETURN N; END; ================== Run this "P2RN(45,100)" from the Home Screen and get: "Error: Syntax Error" Have tried using variables for input after storing values into them. Can't call "P2RN(45,100)" from another program either. Works with "Run" in program Editor however. what am I doing wrong? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)