Handling Computer Files for SS2
Handling Computer Files for SS2 Basic File Operations Following are some of the basic file operations: 1. Create : To make a new file 2. Delete : To remove a file from disk 3. Retrieve : To find a file and bring it back 4. Copy : To produce file so that it is the same as the original piece of work 5. View : To see the files in a folder 6. Update : A manipulation involving adding, modifying, or deleting data to bring a file up to-date 7. Open : Open a file for editing 8. Close : To exit the edited file. Sequential File Creation There are many ways to organize data in a sequential file. One of such ways is by using BASIC Programming. 1. Choose a DOS file name. A DOS file name is a string consisting of a base name of at most eight characters followed by an optional extension consisting of a period and at most three characters. Blank spaces are not allowed. Some examples of DOS file names are INCOME.86, CUSTOMER.DAT. And FORT500. 2. Choose a number from 1 through 255 to be the reference nu