hp 42s combining strings - 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: hp 42s combining strings (/thread-15586.html) |
hp 42s combining strings - Shawn - 03-05-2002 Trying to combine 2 strings, apparently you can have up to 15 characters in the alpha register, i seem to be able to put more (not the storage reg., only 6 in there.) What I want to do is append the 2nd string to the 1st string. I know the append function is that sideways "T" but it doesn't work in this case.
I would like the end result in the alpha register to be... <=90.0000D=10.0000 Re: hp 42s combining strings - Andrés C. Rodríguez (Argentina) - 03-05-2002 If I recall correctly, an extra "enter" at the beginning of the string will enable the append mode.
Re: hp 42s combining strings - Shawn - 03-05-2002 right, i know the append symbol but it doesn't work either. Re: hp 42s combining strings - Chris Randle (UK) - 03-05-2002 It works OK for me. Typed in your prog, but before each line with alpha code, I typed (Shift) ALPHA ENTER, then the text. This gave a line like this, for example: 04 |-"D="
The bar-hyphen was a single char; a T on its side as you described it. Replacing all alpha lines in this way gave exactly the output you wanted.
Re: hp 42s combining strings - Vieira, Luiz C. (Brazil) - 03-05-2002 Try this: 01 LBL "TEST"
This should work. Unless you are trying to place D=value in the lower line; if so, you'll need the Line Feed (LF) character, available at ALPHA, PUNC, down-arrow, last-softkey. Your program would look like this: 01 LBL "TEST"Forgive-me if this is not what you want, but it may be helpfull one day.
Cheers.
Thnx so much, it works great - Shawn - 03-05-2002 thnx, 42 rulz
|