The Museum of HP Calculators

HP Forum Archive 16

[ Return to Index | Top of Index ]

hp 50g string to list conversion
Message #1 Posted by Rich Messeder (US) on 11 Nov 2006, 10:40 a.m.

I have decided to try to use the SD card to interface with my Windows computer. I am currently using Conn4x to connect with the hp 49g+ and 50g, but wanted to avoid relying on using the cable.

I have menu lists that I can send via Conn4x and they work fine. I create them in an editor and format them so that they are easy for me to read (Unix-style LF, not LF-CR):

%%HP: T(3)A(D)F(.); { {"IDN" IDN} {"DET" DET}

I was able to create a simple menu this way, copy it to SD card, and copy the file to the hp 50g.

I tried to use the STR-> command on the file directly, but to no avail.

I then edited the resultant string, removed the %% header and all line feeds. This worked for a simple list.

BUT I cannot get my longer lists to run. I suspect it may be because I am using stuff like {"D\->R" D\->R}. I get a syntax error. I looked in the HP 50g manual, and didn't find much on the STR-> command. I also searched the web, and came up empty.

What is my solution? Thanks, Rich

      
Re: hp 50g string to list conversion
Message #2 Posted by James M. Prange (Michigan) on 11 Nov 2006, 3:40 p.m.,
in response to message #1 by Rich Messeder (US)

See http://www.hpcalc.org/search.php?query=%22ASCII+on+SD%22.

Regards,
James

            
Re: hp 50g string to list conversion
Message #3 Posted by Rich Messeder (US) on 13 Nov 2006, 7:29 p.m.,
in response to message #2 by James M. Prange (Michigan)

Thanks very much for that! I just ran a test of it on my hp 50g and it was successful. <smile>I'll be sure to thank the author when I see him!</smile>

Kindly and appreciatively yours, Rich


[ Return to Index | Top of Index ]

Go back to the main exhibit hall