![]() |
WP34s indirect addressing of alphanumeric labels - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: WP34s indirect addressing of alphanumeric labels (/thread-244705.html) |
WP34s indirect addressing of alphanumeric labels - Eduardo Duenez - 06-05-2013 Hello, fellow forumites and 34s developers. Is the 34s capable of indirectly addressing an alphanumeric label like 'HIL' (or hotkeys A,B,C,D for that matter)? Here's what I'm trying to do: Take an alpha string like 'HIL', and [alpha]STOre it, let us say in R00.
The instruction XEQ> 00(indirect execution) does *not* work like XEQ 'HIL'because seemingly XEQ> 00 interprets R00 as a numerical label 4,737,356 giving an "Out of range Error".
The procedure works just fine if R00 is a number such as 42, namely XEQ> 00executes as XEQ 42 Is it possible to accomplish the above for alphanumeric (or hotkey) labels? ALTERNATE QUESTION: Is it possible to XEQ a subroutine whose LBL is stored in the alpha register? Thanks, Eduardo
(As a side note, I'm writing a program that calls any named subroutine, say LBL 'HIL' ... RTN computing a 2-argument function f(i,j) to fill the entries of a matrix M with M(i,j) = f(i,j). I would like the program to be able read the label 'ABC' from the alpha register...)
Re: WP34s indirect addressing of alphanumeric labels - Paul Dale - 06-05-2013 No.
- Pauli
Re: WP34s indirect addressing of alphanumeric labels - Eduardo Duenez - 06-05-2013 Quote: Wishlist for 43s...
Eduardo
Re: WP34s indirect addressing of alphanumeric labels - Walter B - 06-06-2013
Quote:Not exactly. But try XEQ[alpha] for an alternative.
d:-)
Re: WP34s indirect addressing of alphanumeric labels - Eduardo Duenez - 06-06-2013 Quote: I guess you mean [alpha]XEQ, which solves my original problem (per page 110 of manual v3.1). Thanks! Eduardo EDIT: I correct myself. XEQ[alpha] on p. 107 is what Walter meant.
Edited: 7 June 2013, 1:23 p.m.
|