[ANN] Simple RPN Calculator on RevOnline

stephen barncard stephenREVOLUTION2 at barncard.com
Wed Oct 13 19:04:32 EDT 2010


except '*dup*'  - ha

On 13 October 2010 14:44, <DunbarX at aol.com> wrote:

> Andre.
>
> All four registers, x,y, z and t are identical, and reside in a single LIFO
> stack:
>
> T
> Z
> Y
> X
>
> "X" is the register that is visible. The upper ones are above it, take a
> tiny bit of getting used to, and then unleash their power.
>
> One enters data from the keyboard into "x". "Enter" simply says: terminate
> data entry, and move the data in "x" to "y", "y" to "z" and "z" to "t" (t
> is
> lost). Any operator, like "+" says: add y to x, leave the answer in x; move
> "z" to "y", move "t" to "z" and leave a copy of "t" in "t".
>
> There is a "switch x and y" button, and a "rollDown" button, that shifts
> data downward, one register to another, and passes "x" back up to "t".
>
> That's it. That's all one needs.
>
> Craig
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>



More information about the use-livecode mailing list