Revisions: 08/29/06

Chapter 26 — File Input

This chapter discusses how QBasic programs can read data from disk files. The disk files will be text files: files containing only printable characters. These files might have been created by QBasic programs or by other programs (such as a text editor).

Chapter Topics:

When you have finished this chapter you will have seen nearly everything there is to programming. You will have seen how to read data into a program (from the user and from files), you will have seen how to process that data (using variables, statements, decisions and loops), and you will have seen how to write data out (to the monitor or to disk files). There is nothing else a program can do.

QUESTION 1:

Is a program doing something fundamentally different when it creates graphics on the graphics screen?