Post Reply 
[BUG] Stack Pollution by PPL PRINT Statement
02-23-2014, 10:21 PM
Post: #1
[BUG] Stack Pollution by PPL PRINT Statement
Still experimenting with PPL, trying to get the feel of it before porting any of my apps from the 50g. I encountered this:
Code:
EXPORT CHARLIE()
BEGIN
  PRINT("Entry mode is "+Entry);
END;
When run, this displays, as you might expect:
Code:
Entry mode is 2
on a separate scrolling screen (I'm an RPN junkie). What was unexpected was that the same text ended up on the lowest level of the stack as a quoted string. A little more experimentation revealed that this behavior only manifests with PPL programs that do not return a value.

- John
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: