HP Forums
[WP 34s] Strange behaviour of [alpha]XEQ - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not quite HP Calculators - but related (/forum-8.html)
+--- Thread: [WP 34s] Strange behaviour of [alpha]XEQ (/thread-2427.html)



[WP 34s] Strange behaviour of [alpha]XEQ - Bernd Grubert - 11-14-2014 11:47 AM

Hello.
I'm trying to use the [alpha]XEQ function, but it doesn't work as (I) expected. From the manual I understand, that this function XEQtes the function with the name corresponding to the alpha-data stored in the register that is given as parameter.
I tried the following code in in the emulator and in the real calculator (both version 3680):
Code:
**LBL'AXQ'
LBL A
CL[alpha]
[alpha]'F'
[alpha]STO 00
[alpha]XEQ 00
RTN
LBL B
LocR 001
CL[alpha]
[alpha]'F'
[alpha]STO .00
[alpha]XEQ .00
PopLR
END
**LBL'F'
END

I started both versions from RAM. The 'A' version works on my realbuild but not in the emulator. The 'B' version doen't work on both machines. The [alpha]XEQ produces "NO SUCH LABEL".

Am I missing something or is this a bug?

Regards
Bernd


RE: [WP 34s] Strange behaviour of [alpha]XEQ - Marcus von Cube - 11-14-2014 10:02 PM

(11-14-2014 11:47 AM)Bernd Grubert Wrote:  Am I missing something or is this a bug?

Definitely something worth debugging.


RE: [WP 34s] Strange behaviour of [alpha]XEQ - Paul Dale - 11-14-2014 10:10 PM

(11-14-2014 11:47 AM)Bernd Grubert Wrote:  Am I missing something or is this a bug?

I'd say bug here. They should behave the same.

My initial guess is we're not dealing properly with the length of the alpha data. But this is just a guess.


Pauli


RE: [WP 34s] Strange behaviour of [alpha]XEQ - Paul Dale - 11-15-2014 08:10 AM

Found the bug and exterminated it.

Should work properly in the next build.


- Pauli


RE: [WP 34s] Strange behaviour of [alpha]XEQ - Marcus von Cube - 11-15-2014 02:02 PM

(11-15-2014 08:10 AM)Paul Dale Wrote:  Should work properly in the next build.
I've committed a new build to SF. Maybe before I assemble a new release package we should investigate the Y display optimizations. Is anybody willing to apply the patches? I can then do the building and packaging.


RE: [WP 34s] Strange behaviour of [alpha]XEQ - Bit - 11-15-2014 06:22 PM

(11-15-2014 02:02 PM)Marcus von Cube Wrote:  
(11-15-2014 08:10 AM)Paul Dale Wrote:  Should work properly in the next build.
I've committed a new build to SF. Maybe before I assemble a new release package we should investigate the Y display optimizations. Is anybody willing to apply the patches? I can then do the building and packaging.

I've committed the patches to both the 34S and the 31S. If something needs to be fixed or debugged, let me know, I'm happy to help.


RE: [WP 34s] Strange behaviour of [alpha]XEQ - Marcus von Cube - 11-15-2014 07:04 PM

(11-15-2014 06:22 PM)Bit Wrote:  I've committed the patches to both the 34S and the 31S. If something needs to be fixed or debugged, let me know, I'm happy to help.

I've updated the builds again. Happy testing!


RE: [WP 34s] Strange behaviour of [alpha]XEQ - Bernd Grubert - 11-15-2014 08:37 PM

Hello all,
Thanks a lot for the bugfix. The new release works fine!

Regards
Bernd