hp 50g string to list conversion
#1

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

#2

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

Regards,
James

#3

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



Possibly Related Threads…
Thread Author Replies Views Last Post
  HP 35s polar/rectangular conversion CD Dodds 6 2,569 11-28-2013, 02:39 PM
Last Post: Dieter
  Milestones:List of IEEE Milestones -> HP-35 AlbertTocarLoseggs 4 2,034 11-27-2013, 08:52 AM
Last Post: Massimo Gnerucci (Italy)
  HP-Prime : Extracting elements from a list in RPN Miguel Toro 0 1,552 11-15-2013, 06:44 PM
Last Post: Miguel Toro
  [HP-Prime] Picking elements from a List in a program Jean-Michel 3 1,911 11-15-2013, 04:16 AM
Last Post: dg1969
  Hp PRIME - how to send a list to the connectivity Kit giancarlo 1 1,263 11-10-2013, 11:50 AM
Last Post: Tim Wessman
  How do I decompose a list with the HP Prime. Hal Bitton in Boise 4 1,949 11-08-2013, 02:07 PM
Last Post: Patrice
  [WP 34s] Pressure Conversion Factors Timothy Roche 8 3,034 11-04-2013, 07:17 PM
Last Post: Dave Shaffer (Arizona)
  More programs for polar-rectangular conversion on HP Prime Michael de Estrada 4 1,909 11-04-2013, 12:43 AM
Last Post: Michael de Estrada
  HP-Prime/Xcas: vector/list indexing fhub 6 2,737 10-27-2013, 04:52 PM
Last Post: fhub
  Hp prime list function - indexing into a list Andy B (Australia) 3 1,876 10-07-2013, 01:41 AM
Last Post: cyrille de Brébisson

Forum Jump: