Citation
Abstract
This article describes simple computer algorithms for processing source program and text data files in order to extract change detection, version control, version history, and current status information easily, These algorithms presuppose that it is possible to attach to each record of the source files a 6-character code, placed within delimiters that will cause the compiler, or other using program, to ignore this code field. The code contains a 2-character code for a charactér-by-character position-sensitive checksum of the record, another for the record number in the file, and a third for the date on which the encoding took place. Once the source file has been thus encoded, it is possible to detect the following transactions on the file since the most recent version coding: (a) addition of new records (having no version code); (b) modification of existing records; (c) deletion of a number of records; (d) movement and/or duplication of existing records; and (e) modiftcation and duplication of records, In addition, it is possible to extract a version history of the number of records created or modified by date. A special file listing program is described which prints the file records without showing the version codes, but places a “change bar” at the right margin whenever a change is detected, The program also provides a list of changed pages and a version history.
Details
- Volume
- 42-69
- Published
- June 15, 1982
- Pages
- 20–35
- File Size
- 1.0 MB