11-29-2017, 08:53 PM
Hi folks,
Maybe it's my advancing years (lol) or something, but I just can't figure out what is going on.
Wrote a very simply RPN routine on my 15C and the "bug" seems to replicate on 11C so must be a logic issue.
I just want to calculate
X - 1
------
X^2 - 1
(x minus 1, divided by x-squared minus 1)
So this is what I put in:
LABEL A
ENTER
1
-
X <-> Y
X^2
1
-
/
R/S
The way I run it is just typing a number then issuing "f A" to run it.
It seems not to work as intended if I do not press ENTER before issuing "f A"
I thought the first ENTER (line 2) already puts the number I typed into both Y and X on the stack?
And that I do not need to press ENTER before running the program, because whatever I typed (prior to issuing f-A) is already in the X register?
???
Maybe it's my advancing years (lol) or something, but I just can't figure out what is going on.
Wrote a very simply RPN routine on my 15C and the "bug" seems to replicate on 11C so must be a logic issue.
I just want to calculate
X - 1
------
X^2 - 1
(x minus 1, divided by x-squared minus 1)
So this is what I put in:
LABEL A
ENTER
1
-
X <-> Y
X^2
1
-
/
R/S
The way I run it is just typing a number then issuing "f A" to run it.
It seems not to work as intended if I do not press ENTER before issuing "f A"
I thought the first ENTER (line 2) already puts the number I typed into both Y and X on the stack?
And that I do not need to press ENTER before running the program, because whatever I typed (prior to issuing f-A) is already in the X register?
???