WP-34s Emulator v3.2
|
01-03-2014, 12:06 PM
(This post was last modified: 01-03-2014 06:34 PM by Marcus von Cube.)
Post: #8
|
|||
|
|||
RE: WP-34s Emulator v3.2
I'm speaking of RPN and RPL both as languages here...
![]() In an RPL program, ENTER does not appear as a command as in classic RPN. If you press ENTER on an empty entry line, you'll get DUP. It's just a shortcut. If you put in 1 ENTER 2 ENTER + on an RPL machine the code executed is 1 2 +. ENTER just terminates the digit entry. The same input on the 34S (or a 35) yields 1 ENTER^ 2 +. ENTER^ is in fact the same as the DUP command in RPL. The equivalent of separating the two numbers 1 and 2 by a space in RPL is ENTER^ in RPN. In RPN, 10 ENTER^ * yields 100 (10^2). This makes some functions, such as x^2, expendable as keyboard functions for most manual calculations on the classic machines. To achieve the same in RPL, 10 DUP * is the correct way to go. This can be entered as 10 ENTER ENTER + in direct mode. In a program, you'll need the explicit stack manipulation command DUP. Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basic-compare.html |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)