HP Forums
Hp 50 ; ± What's behind that command/program? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Hp 50 ; ± What's behind that command/program? (/thread-19963.html)



Hp 50 ; ± What's behind that command/program? - Gil - 05-16-2023 12:44 PM

About Palindrome last post

I tried "123" ±, but did no get the reversed string.
What is the program "hidden" behind ±?

Thanks


RE: Hp 50 ; ± What's behind that command/program? - BruceH - 05-16-2023 10:40 PM

It's there in Peruna's post (#14).

Code:
'±' #7F80h 48. bytes
«   DUP SIZE { DUP HEAD SWAP TAIL ± SWAP + } IFT
»

On the 50G, you can replace it with the command SREV when Library 256 is attached.