Post Reply 
HP50G SD card STO and RCL
12-15-2018, 02:32 PM (This post was last modified: 12-15-2018 02:34 PM by Stevetuc.)
Post: #18
RE: HP50G SD card STO and RCL
(12-14-2018 10:01 PM)Claudio L. Wrote:  PATH TAIL will give you an empty list, so it can't be used at HOME without considering that as a special case (which the code does not).
The whole point of that little program is to dump an entire subdirectory into an equally named subdirectory in the SD card, so it's only meant to be used within a subdirectory.

To make it work in home a simple fix would be:

Code:

\<< PATH TAIL IF DUP SIZE THEN "/" SWAP ADD "/" + \GSLIST ELSE DROP "/" END VARS ADD
VARS 2. \<< RCL SWAP 3. \->TAG DUP PURGE STO 0. \>>
DOLIST DROP
\>>

Thanks Claudio, that works well. I changed the final "/" to "/HOME/" so that contents of home gets its own subdir too.
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: 3 Guest(s)