no edit summary
=== Data block ===
Number and string arrays are stored on tape in the same format as in RAM [http://www.worldofspectrum.org/ZXBasicManual/zxmanchap24.html|] except that the very first byte (the name of the array) is absent. The name of the array stored in the second byte of ''Parameter 1'' in header block.
Note: although the array name is saved, you cannot just ''LOAD "" DATA'', you have to explicitly say where to load: e.g. ''LOAD "" DATA w()'', but you can use any letter regardless of the original name.
Program files are stored as a sequence of lines each stored the same way it is in RAM:
Line number[2BE] Length Text 0x0D
Note that numeric literals will be stored in both text and binary (text 0x0E zxfloat).
Code files are stored as a flat sequence of bytes, in the order they appear in RAM.
[[Category:Native file formats]]