Browse Prior Art Database

Attribute Respecification

IP.com Disclosure Number: IPCOM000082331D
Original Publication Date: 1974-Nov-01
Included in the Prior Art Database: 2005-Feb-28
Document File: 2 page(s) / 22K

Publishing Venue

IBM

Related People

Melkun, BF: AUTHOR

Abstract

PL/I has two ways of associating pointers with based data, explicitly on each reference, and implicitly by using a pointer given in a declare statement. However, there are often long sections of a program where the based data is located by a pointer other than the declared one. The existing facility requires each reference to be explicitly associated, which is time consuming and which lessens modifiability.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 2

Attribute Respecification

PL/I has two ways of associating pointers with based data, explicitly on each reference, and implicitly by using a pointer given in a declare statement. However, there are often long sections of a program where the based data is located by a pointer other than the declared one. The existing facility requires each reference to be explicitly associated, which is time consuming and which lessens modifiability.

PL/I can be modified to include a respecify statement, with the form:

(Image Omitted)

The new basing pointer would apply as the implicit pointer for the given names, until the next appearance of a respecify statement with that name. The basing pointer in the declare statement would be used until the respecify statement appears.

The general statement form shows the based attribute as optional. This provides a `revert' facility, i.e., a respecify with no based attribute will result in the implicit pointer reverting to the one in the declare statement.

This same statement can be used for respecifying other attributes, for example:

(Image Omitted)

1

Page 2 of 2

2

[This page contains 1 picture or other non-text object]