Returning multiple numbers onto the stack
|
10-30-2014, 02:42 PM
Post: #1
|
|||
|
|||
Returning multiple numbers onto the stack
I have what I am sure may seem like a rather simple question to most of you I am sure.
I am a surveyor, and am working on several different ways of calculating points with my prime. I love the calculator, and it is quite the discussion piece amongst surveyors to say the least. An example of my problem is outlined here: EXPORT Traverse (n, e, ang, dist) BEGIN LOCAL a,b; a:= cos(ang)*dist; b:= sin(and)*dist; return (n+a,e+b); END; Now this returns me Coordinates in the format (xxxxxx.xxx , yyyyyy.yyy) Which is ok, but i would like to have them as separate numbers on the stack for traversing forward. I have tried using multiple Return statements, tried all kinds of things but i cannot seem to get it down. please help! |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Returning multiple numbers onto the stack - Jm9301 - 10-30-2014 02:42 PM
RE: Returning multiple numbers onto the stack - Tim Wessman - 10-30-2014, 03:06 PM
RE: Returning multiple numbers onto the stack - Jm9301 - 10-30-2014, 06:05 PM
RE: Returning multiple numbers onto the stack - jayhawk - 11-10-2014, 03:37 PM
RE: Returning multiple numbers onto the stack - Han - 11-10-2014, 04:23 PM
|
User(s) browsing this thread: 1 Guest(s)