WP 34S - indirect addressing issue



Post: #10

I've noticed indirect addressing doesn't work when the fractional part of the index is equal or greater than 0.5. Of course, by definition indices are integer numbers. However, as a convenience, HP calculators accept non-integer number as indices for indirect addressing and just ignore the fractional part. Is this a WP 34S bug or a feature? Thanks!

Gerson.


Post: #11

It seems to be working:

    1 STO 01
2 STO 02
1.75 RCL-> X

Returns 1 as it should.

In other words, I'm not understanding the problem here. Any chance of a step by step reproduction please?


- Pauli


Post: #12

Returns 2 in version 2.2 build 1975 (Emulator).

Gerson.

--------------

Also,

99 STO 99
99.99 RCL-> X

returns 99.99

Edited: 22 Jan 2012, 5:20 p.m.


Post: #13

You are correct. I tested in v3 which this is all working happily.

The proper solution is to upgrade ;-)


I've committed a fix.
I don't know when the next v2.2 build will occur.


- Pauli


Post: #14

Quote:
The proper solution is to upgrade ;-)

As soon as I get a working USB-to-serial adapter. Or a new USB cable, if it is ever released :-)

Gerson.

Edited: 22 Jan 2012, 5:55 p.m.

Post: #15

Quote:

I don't know when the next v2.2 build will occur.


I could do one this week if someone can point me to the fix. I've yet to patch to serial port fix into 2.2 as well.


Post: #16

I committed the fix in the 2.2 branch.

- Pauli

Post: #17

Quote:
It seems to be working:
    1 STO 01
2 STO 02
1.75 RCL-> X

Returns 1 as it should.


I can confirm an error for version 2.2 1789 (emulator) where this returns 2.

The same works fine in version 3.0 2289 (also emulated). Here it returns 1, as it should.

Dieter


Post: #18

I was having trouble in a program that worked on the HP-42S but would not work on my outdated WP 34S.

Mine was flashed last July. Just received Eric's overlays (very nice on the former 20b!). A suitable USB-to-serial converter is still missing though.

Cheers,

Gerson.

Edited: 22 Jan 2012, 6:03 p.m.


Forum Jump: