Introduction MTB Statements File System Compiler Applications Reference Guide Index

Overview Keyed Files Indexed Sequential Files Text Files File I/O Operations

Text Files

Text files are standard ASCII data files containing text records. Records are stored in the order in which they were written to the file, and are accessible in sequential order. Text files employ a fixed record size of 1,024 bytes, however, a carriage return/line feed terminates each record following the final byte of data in the record. Fields are variable-sized, and may or may not be delimited (depending on the application that created the text file).

Text files are primarily used to import and export standard ASCII files with Comet. They may also be used to store MTB source programs, as the MTB compiler supports both text files and Comet editor keyed files as source files.

See the FILE statement for information about reading tab-delimited data from text files.