Browse Prior Art Database

Disclosure of an Automatic Display of Program References From a Cross-Reference Listing

IP.com Disclosure Number: IPCOM000044458D
Original Publication Date: 1984-Dec-01
Included in the Prior Art Database: 2005-Feb-06
Document File: 2 page(s) / 15K

Publishing Venue

IBM

Related People

Brown, MR: AUTHOR

Abstract

This article describes an automatic display on a terminal screen of selected references to a labeled program or document element while indicating the selections in an index list displayed on the screen at the same time. The index list may be a program cross-reference list or any other index of references within the program or document being studied. The referenced element can be a location in a program, a data element, or any other labeled component of the program or document. The display of a reference to an element consists of a display of the area of the program in which the element reference occurs. This area depends upon the form of representation used for the program, e.g., one or more lines of a source code listing or one or more blocks of a flowchart centered about the location of the referenced element.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 46% of the total text.

Page 1 of 2

Disclosure of an Automatic Display of Program References From a Cross- Reference Listing

This article describes an automatic display on a terminal screen of selected references to a labeled program or document element while indicating the selections in an index list displayed on the screen at the same time. The index list may be a program cross-reference list or any other index of references within the program or document being studied. The referenced element can be a location in a program, a data element, or any other labeled component of the program or document. The display of a reference to an element consists of a display of the area of the program in which the element reference occurs. This area depends upon the form of representation used for the program, e.g., one or more lines of a source code listing or one or more blocks of a flowchart centered about the location of the referenced element. One or more references can be selected and displayed at the same time. This facility simplifies program debugging or modification in the situation where the function of a data element, a statement label, or some other symbol must be studied. The prior art forces the user to alternate between display of a cross-reference list and the program section for each reference examined if no screen-splitting facility is available, and he must search the program listing or other representation form for each reference. Additional effort is needed to display more than one reference to a program element at the same time; in some cases, this is impractical. The automatic program reference technique described here uses some form of representation of the program to be studied and a crossreference list, related to the program representation, of symbols used in the program. The program representation can be in any form convenient for the programmer, i.e., source code statements, assembly or compilation listings, flowcharts, or other textual or graphic forms. The cross-reference listing may identify symbol references by any convenient means, e.g., by internal or external sequence number, by flowchart block location, or some other arrangement. The sole special requirement to use this automatic reference technique is that the necessary information be contained in each symbol cross-reference entry which will permit location of the referenced location in the program representation. Some of the ways which this can be done are discussed below. First, if each cross-reference entry for a symbol specifies some type of program sequence number, such as an internal or external line number, this sequence number can be stored with its associated segment of the program representation (such as a line of source code). The program representation can then be searched, using the field containing this number as a key field, to find any specified reference. Second, some type of pointer to the indicated segment of the program representation can be stored as part of each cross-r...