When you need to add records to an indexed file, you should open the file in I-O mode and just write new records.
Note : Keys in an indexed file must be unique. That is to say, no two records can have tha same key. There is, however, a technique to have duplicate keys in an indexed file, but this will be covered later.
Note : Keys in an indexed file must be unique. That is to say, no two records can have tha same key. There is, however, a technique to have duplicate keys in an indexed file, but this will be covered later.