ADD/EDIT Your Data (Adventures in Data Land!)

Programming Tools, Tips, and Tutorials.
Welopez
Posts: 56
Joined: Fri Jan 07, 2005 11:16 pm
Location: Currently living in Riverside, CA

ADD/EDIT Your Data (Adventures in Data Land!)

Post by Welopez »

Now that you have a program to edit/display records in a data file, you'll occasionally need to add a new record, or edit an existing record.

Writing blocks of code in the main program automates these tasks to reduce mistakes.

In this program: OPEN a TXT file for INPUT, OPEN a TXT file for OUTPUT, OPEN a TXT file for APPEND. EDIT the records in an ARRAY and SAVE changes to a TXT file.

Feel free to modify any code for your own purposes.
You do not have the required permissions to view the files attached to this post.