Post Reply 
HP50G SD card STO and RCL
11-01-2014, 04:41 PM
Post: #11
RE: HP50G SD card STO and RCL
(11-01-2014 03:18 PM)Paul 6146 Wrote:  David
Then what is the purpose of the USER manual telling you that you can store a program into a directory on the sd card when you can't even access the directory in the File Manager? This generates an error. So in other words......the hp50G doesn't really make directories on the sd card. This says to me that all the programs you want to save to sd card must be saved in the root which is going to be a mess since there will be multiple programs that belong together all mixed up with other programs in one place. Not very good design!

The User Manual is correct, but you're making some assumptions about what it means that aren't correct. You appear to be making a mental connection between calculator directories and SD card directories, and that's where things are falling apart for you. They are not the same thing. The 50g can make SD directories on the SD card, but there's no connection between those and the ones you see on your calculator (other than the fact that we call them both "directories").

Let's say I have a newly-formatted SD card installed in my 50g. I want to save a Gregorian-to-Julian date conversion program I just wrote on the card, but instead of the root of the card, I want to save it into a SD subdirectory. I might do the following:

1) RCL the program object to the stack
2) Type in the following SD card file specifier: :3:"UTILS/DATETOOLS/CONVERT/GtoJ"
3) STO

The STO command will happily create a UTILS directory at the root of the card, and then DATETOOLS and CONVERT subdirectories beneath it. Finally, the program is stored into an SD file named "GtoJ" in the CONVERT subdirectory. This (hopefully) is perfectly understandable.

Now consider the same situation, but instead of saving a single program, you recall a calculator directory object containing multiple programs to the stack. Everything that happened above for the single program will still apply to this new scenario. Just like in the first case, the STO command will happily create the UTILS/DATETOOLS/CONVERT/ directory structure on the SD card, then save the object you gave it into a single file named "GtoJ". The STO command doesn't treat the directory object any differently than any other object -- it simply saves it as a file in the location you specified.

As a convenience, the Filer (and several third-party utilities) will show you what type of object the SD card file is, but none that I am aware of will allow you to browse the contents of that object if it happens to be a composite (list, array, program, library, etc.).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP50G SD card STO and RCL - Paul 6146 - 10-31-2014, 12:27 AM
RE: HP50G SD card STO and RCL - DavidM - 10-31-2014, 03:02 AM
RE: HP50G SD card STO and RCL - Paul 6146 - 10-31-2014, 03:42 PM
RE: HP50G SD card STO and RCL - Han - 10-31-2014, 03:47 PM
RE: HP50G SD card STO and RCL - Paul 6146 - 11-01-2014, 04:36 AM
RE: HP50G SD card STO and RCL - DavidM - 10-31-2014, 09:50 PM
RE: HP50G SD card STO and RCL - Paul 6146 - 11-01-2014, 01:51 AM
RE: HP50G SD card STO and RCL - DavidM - 11-01-2014, 05:46 AM
RE: HP50G SD card STO and RCL - Paul 6146 - 11-01-2014, 03:18 PM
RE: HP50G SD card STO and RCL - DavidM - 11-01-2014 04:41 PM
RE: HP50G SD card STO and RCL - Paul 6146 - 11-01-2014, 05:24 PM
RE: HP50G SD card STO and RCL - DavidM - 11-01-2014, 07:02 PM
RE: HP50G SD card STO and RCL - Claudio L. - 11-01-2014, 05:06 PM
RE: HP50G SD card STO and RCL - Claudio L. - 11-01-2014, 04:51 PM
RE: HP50G SD card STO and RCL - Stevetuc - 12-11-2018, 12:36 PM
RE: HP50G SD card STO and RCL - Claudio L. - 12-14-2018, 10:01 PM
RE: HP50G SD card STO and RCL - Stevetuc - 12-15-2018, 02:32 PM



User(s) browsing this thread: 1 Guest(s)