Post Reply 
DUP n "erzats"
03-08-2016, 12:22 PM
Post: #1
DUP n "erzats"
Hi dear friends,
I was thinking this past night of a function usefull from some HP RPL.
It is : DUP n

For those wich not know what it is, an sample :

assume we have in level one ( or x register) a value that it is 0 or 1 or "n", if it is 0 no copy but a drop is include and this is the important, if it is 1 it is like enter etc.

In WP34s it is not so I do like this :

If I have zero in x : no copy
If I have one in x : I copy , and drop the value 0 or 1.

Then me I do this :
(I combination test and flag) :

.
.
.
register x = 0
CF 00
DROP
FC?C 00
[ENTER]
[ENTER]
.
.
.
And it is as DUP n for 0 or one.

May be you give me what you think of that ?

Good day.

GĂ©rard.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DUP n "erzats" - ggauny@live.fr - 03-08-2016 12:22 PM
RE: DUP n "erzats" - Dieter - 03-08-2016, 07:53 PM
RE: DUP n "erzats" - Didier Lachieze - 03-08-2016, 08:13 PM
RE: DUP n "erzats" - Dieter - 03-08-2016, 09:28 PM
RE: DUP n "erzats" - jch - 03-08-2016, 09:01 PM
RE: DUP n "erzats" - ggauny@live.fr - 03-09-2016, 12:45 PM
RE: DUP n "erzats" - Dieter - 03-09-2016, 03:20 PM
RE: DUP n "erzats" - Dieter - 03-09-2016, 09:19 PM
RE: DUP n "erzats" - ggauny@live.fr - 03-10-2016, 08:19 AM
RE: DUP n "erzats" - Dieter - 03-10-2016, 02:31 PM
RE: DUP n "erzats" - ggauny@live.fr - 03-11-2016, 07:21 AM



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