Thanks David! Your 2nd paragraph is exactly what I was doing. I would RCL a directory onto the stack and save it to the sd card thinking the programs inside the directory would be included on the sd card. I will try creating a global variable first on the sd card and then store the programs into it.
(10-31-2014 12:27 AM)Paul 6146 Wrote: I am new to this forum but not to HP calculators. I have (2) HP41CX and (2) HP 48SX calculators so I am no stranger to RPN and RPL. I have programmed both of these for a number of years. I just got an HP50G and I can only find one document on the web that deals with the SD card and how to use it. This was a HP support document and most of the instructions it gives don't seem to work on MY Hp50G. I am trying to learn how to save programs to the SD card and then RCL them and save them as a user program. For instance, The document says to use ' when accessing a program on the root of the SD card but this only returns errors on MY HP50G. I have to use " for everything ex: :3:"MYPROG/PROG2.
Also, when you RCL a directory on the SD card, how can you pick out 1 program from the directory (now on the stack) and make it a program on the calculator? What I need is the documentation for **MY** HP50G for accessing the SD card. Can anyone help and point me to it?
My rom version is 2.15, Build 0106, Firmware 4.02
Thanks to all and especially to Dave Hicks for helping me get on here.
Paul[/size][/font]
(10-31-2014 03:02 AM)DavidM Wrote: (10-31-2014 12:27 AM)Paul 6146 Wrote: I just got an HP50G and I can only find one document on the web that deals with the SD card and how to use it.
If you haven't already done so, I would suggest reading through the HP 50g User's Guide section that's devoted to the SD card ("Using SD cards", starting on page 26-7). That will probably fill in some of the details that you haven't seen yet.
(10-31-2014 12:27 AM)Paul 6146 Wrote: I am trying to learn how to save programs to the SD card and then RCL them and save them as a user program.
This is a bit ambiguous. When you say "save programs to the SD card", are you saving them using the 50g, or are you attempting to save them to the card using a computer (eg. creating the source on a PC)? There's a big difference, and the answers will vary depending on what your intent is. Could you elaborate further?
(10-31-2014 12:27 AM)Paul 6146 Wrote: Also, when you RCL a directory on the SD card, how can you pick out 1 program from the directory (now on the stack) and make it a program on the calculator?
The answer may depend on how the item was originally stored on the card, but if you've RCL'd a directory object to the stack from the SD card by name (eg. :3:"MYDIR" RCL), it will exist as a single object in stack level 1. Even though that directory may contain other elemental objects (numbers, programs, lists, etc.), it is still a single "container" object when recalled to the stack in that way. The only method I know of to work with the individual items it contains would be to store that directory object as a user (global) variable first ('MYDIR' STO). Then you can navigate to the item(s) of interest and do whatever is needed. If you're only interested in one item, simply recall that to the stack, delete the newly created directory, then save the remaining stack item wherever you need.
Hope this helps!
- David