Jump to content

QBasic/Files/2

From Wikibooks, open books for an open world

9.1.2 THE DIFFERENT TYPES OF FILES


              There are 3 types of files in Qbasic:
                     1. Sequential files
                     2. Random-Access files
                     3. Binary files

Sequential files are the simplest. None too surprisingly, these save records in sequence - like lines in a book. The information in Sequential files is stored as ASCII text, so everything you can see on the screen exists in the computer's memory, and these files can be processed by text editors as well as by Qbasic.