LoginLogin

File types

Root / Programming Questions / [.]

SquareFingersCreated:
Are there any prefixes that can be used in LOAD or SAVE other than the following 13? Even obscure ones, undocumented ones... I want to be sure I have absolutely every file covered. Thanks. PRG0: PRG1: PRG2: PRG3: GRP0: GRP1: GRP2: GRP3: GRP4: GRP5: GRPF: TXT: DAT:

There's also PRG: which is equivalent to PRG0:. Note that there are actually only 2 file types, and all these names are just for telling SB how to load the file. All of these:
PRG:NAME
PRG0:NAME
PRG1:NAME
PRG2:NAME
PRG3:NAME
TXT:NAME
refer to the same file (Internally, this is saved as "TNAME"), and
GRP0:NAME
GRP1:NAME
...
GRPF:NAME
DAT:NAME
all refer to another file (saved as "BNAME")

The PTC manual actually did a pretty good job of making this distinction clear; the actual files on the file system were "file types" but the way you were loading them was the "resource type."