HP Forums

Full Version: HP50G - SYSRPL Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to know of any SYSRPL code to STO an object in a folder in a port (if its possible).

So far this is what I have found out

{ ID DIR ID OB } tok1 >TAG ' xRCL EvalNoCK ( this works for RCL )

BINT2 { ID DIR ID OB } tok1 >TAG xSTO ( displays Bad Argument type )


HPs document 'SD00 Using an SD Card' is saying it can by using key entries

Any help on this would be appreciated

Jeff
(06-23-2019 08:11 PM)JeffB Wrote: [ -> ]I would like to know of any SYSRPL code to STO an object in a folder in a port (if its possible).

So far this is what I have found out

{ ID DIR ID OB } tok1 >TAG ' xRCL EvalNoCK ( this works for RCL )

BINT2 { ID DIR ID OB } tok1 >TAG xSTO ( displays Bad Argument type )


HPs document 'SD00 Using an SD Card' is saying it can by using key entries

Any help on this would be appreciated

Jeff

The HP note is about using an SD Card, and I believe the techniques do not apply to 'normal' non-SD Card ports. The SD card uses the FAT file system, which inherently supports folders, while the native Port-0/Port-1/Port-2, from the 48, don't support folders.
Hello,

Non SD ports store objects as single "blobs" at top level.
This is why you can NOT do a sto in a port that is not as SD card in a "sub" object.

At the time, I added code to do RCL in basically anything (as I needed it for the #include functions of the ASM compiler), but a STO is a much more complicated operation to perform and I never implemented it (especially when we are talking about flash which is basically read only).

Cyrille
Thanks rprosperi and Cyrille.

I thought as much, but wanted to ask to be sure.

Jeff
Reference URL's