Previous topic |
Next topic |
Ada Home Page |
Index
Text files
A text file is simply a stream of characters.
- They contain human-readable text.
- The characters can represent numbers, words, or anything else.
- People can read and write them using a text editor
Text file structure
As far as Ada is concerned, there is no structure to a text file.
People see text as having structure, though:
- pages, of
- lines, of
- characters
Ada implements this structure by giving some characters special meanings:
- EOL - end of line
- EOP - end of page
- EOF - end of file
Previous topic |
Next topic |
Ada Home Page |
Index
c-lokan@adfa.oz.au / 22 Feb 96