Post Reply 
Access RPN stack result in PPL program?
09-06-2014, 03:23 AM (This post was last modified: 09-06-2014 03:39 AM by oldhpfan.)
Post: #4
RE: Access RPN stack result in PPL program?
There is some access through the PPL function parameter and return value mechanisms. For example,
Code:
EXPORT ADD2(X,Y)
BEGIN
  RETURN X+Y;
END;
This program pops two values off of the stack, which end up in the variables X and Y, operates on those variables and returns the result, which is then pushed back onto the stack.
- John
[/quote]

When I try to run this the calculator just asks for me to enter the X and Y parameters it doesn't take them from the stack. Nor does it return anything to the RPN stack.

Edit: Never mind, you have to run the program from home view and it works, if you do from the Program view the above problem happens.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Access RPN stack result in PPL program? - oldhpfan - 09-06-2014 03:23 AM



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