Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
manual:chapter4:card [2017/06/05 19:12] smartin [Storing/Recalling objects] |
manual:chapter4:card [2017/06/05 19:19] smartin [File operations] |
| |
^ Command ^ Purpose ^ Example ^ | ^ Command ^ Purpose ^ Example ^ |
| ''SDCRDIR'' | Create a new directory | ''":3:/Newdir1" SDCRDIR'' | | | ''SDCRDIR'' | Create a new directory | ''"Newdir1" SDCRDIR'' | |
| ''SDCHDIR'' | Change to directory | ''":3:/Newdir1" SDCHDIR'' | | | ''SDCHDIR'' | Change to directory | ''"Newdir1" SDCHDIR'' | |
| ''SDPATH'' | Current directory path | ''SDPATH'' | | | ''SDPATH'' | Current directory path | ''SDPATH'' | |
| ''SDUPDIR'' | Back up one directory level | ''SDUPDIR'' | | | ''SDUPDIR'' | Back up one directory level | ''SDUPDIR'' | |
| ''SDPGDIR'' | Delete a directory (must be empty) | ''":3:/Newdir1" SDPGDIR'' | | | ''SDPGDIR'' | Delete a directory (must be empty) | ''"Newdir1" SDPGDIR'' | |
| ''SDSETPART'' | Set the active partition (0-3) | ''3 SDSETPART'' | | | ''SDSETPART'' | Set the active partition (0-3) | ''3 SDSETPART'' | |
| |
| ''SDRCL'' | Recall an object (file) | '''Spnum' SDRCL'' | | | ''SDRCL'' | Recall an object (file) | '''Spnum' SDRCL'' | |
| ''SDPURGE'' | Delete a file | '''Spnum' SDPURGE'' | | | ''SDPURGE'' | Delete a file | '''Spnum' SDPURGE'' | |
| ''SDCOPY'' | Copy a file | ''":3:/Test/sourcefile" ":3:/Test/destfile" SDCOPY'' | | | ''SDCOPY'' | Copy a file | ''"Test/sourcefile" "Test/destfile" SDCOPY'' | |
| ''SDMOVE'' | Move a file | ''":3:/Test/sourcefile" ":3:/Test/destfile" SDMOVE'' | | | ''SDMOVE'' | Move a file | ''"Test/sourcefile" "Test/destfile" SDMOVE'' | |
| ''SDOPENRD'' | Open a file for read | ''":3:/Test/file" SDOPENRD'', returns file handle (#xh) | | | ''SDOPENRD'' | Open a file for read | ''"Test/file" SDOPENRD'', returns file handle (#xh) | |
| ''SDOPENWR'' | Open a file for write (create new file if it doesn't exist) | ''":3:/Test/file" SDOPENWR'', returns file handle (#xh) | | | ''SDOPENWR'' | Open a file for write (create new file if it doesn't exist) | ''"Test/file" SDOPENWR'', returns file handle (#xh) | |
| ''SDOPENMOD'' | Open a file for byte modification | | | | ''SDOPENMOD'' | Open a file for byte modification | | |
| ''SDOPENAPP'' | Open a file for append | | | | ''SDOPENAPP'' | Open a file for append | | |