DOS 3.3: Text File Format

DOS sequential text files are saved as strings of ASCII characters, just as if they were printed. Furthermore, numeric variables are stored as a string of characters rather than in their internal binary format.
The number of characters required by a given variable VAR can be found with:

PRINT LEN (STR$ (VAR))

The carriage return, along with other separating characters sent out after the data, also need space allocated for them.
Published Date: Feb 18, 2012