Posts: 8
Threads: 4
Joined: Oct 2007
First, Thank You to all the patient folks that help others on this site.
In the manual (at 14-20 et seq)it talks about indirectly addressing variables & LABELS. I would like to GTO (J)(ie: branch execution to a line number contained in register J). Is this possible?
Posts: 1,755
Threads: 112
Joined: Jan 2005
Posts: 150
Threads: 6
Joined: Sep 2007
To elaborate a bit on this: the German manual of the 35s also says you could do indirect addressing of variables AND labels - but only in the chapter's headline and a corresponding table. The functions that actually can use (I) don't list GTO or XEQ anymore. This was however possible with the 33s - the now wrong parts of that manual must have been copied by HP. What a shame!
Posts: 1,545
Threads: 168
Joined: Jul 2005
No, it is a typo in the manual.
Posts: 150
Threads: 6
Joined: Sep 2007
Quote:
No, it is a typo in the manual.
Gene, do you mean that it's a typo in the 35s' manual? That is what I meant.
Or do you mean that it was a typo in the 33s' manual and doesn't even work on that machine?
Posts: 1,545
Threads: 168
Joined: Jul 2005
Posts: 217
Threads: 21
Joined: Aug 2007
It's odd that they dropped this feature from the 35s. It could have been really useful, especially if they'd extended it so that the value in I (or J) could be M.NNN, where M is 1..26 (or -1..-26) and NNN is 000 to 999.
Stefan
Posts: 2,247
Threads: 200
Joined: Jun 2005
So you are suggesting a syntax like this:
GTO I.J
XEQ I.J
So that teh value of register I points to the label and the value of J points to teh step number.
I guess it is doable.
One can have a hybrid syntax such that:
GTO B.(I)
To jum tp line number (I) in label B. And also:
GTO I.(I)
To jump tp label I, line (I).
Namir
Edited: 24 Oct 2007, 12:39 p.m.
Posts: 217
Threads: 21
Joined: Aug 2007
No, I'm just suggesting that GTO (I) works, like it does on the 33s.
But as an extension (since the 35s has line number addressing), the value in I can have a fractional part, and that fractional part will refer to the line number.
Stefan
Edited: 24 Oct 2007, 2:56 p.m.
Posts: 8
Threads: 4
Joined: Oct 2007
Thank you all.
What a shame, it could have been a very powerful feature.
BTW, I'm a land surveyor. What do you guys do with these?
Bill :-)
Posts: 1,755
Threads: 112
Joined: Jan 2005
Posts: 6
Threads: 1
Joined: Aug 2007
Quote:
Thank you all.
What a shame, it could have been a very powerful feature.
BTW, I'm a land surveyor. What do you guys do with these?
Bill :-)
I originally bought it to write larger programs than was possible on my 32SII (to facilitate more sub-routines), but haven't gotten around to that yet. However I've really enjoyed using the built-in equation solver, using it for some astronomy formulas.
I'm really glad it has the same RPN programming language as my 32SII. I considered getting the 50g, but it was more expensive, bigger, and I'd have to learn RPL programming. The 35s is perfect for my needs.