HP Forums

Full Version: WP34s indirect addressing of alphanumeric labels
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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> 00 
executes 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...)

No.

- Pauli

Quote:
No.

- Pauli


Wishlist for 43s...

Eduardo

Quote:
Is it possible to XEQ a subroutine whose LBL is stored in the alpha register?

Not exactly. But try XEQ[alpha] for an alternative.

d:-)

Quote:
Not exactly. But try XEQ[alpha] for an alternative.

d:-)


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.