Automatic, LIFO dynamic storage IS readily available in PL/I in the
form of local storage.  In my experience it is not much used because
misunderstood: people who attempted, uninstructed, to use it early on
were dismayed when they discovered that successive subroutine calls
did not  leave it in its last-used state.

Based, non-LIFO dynamic storage that does persist in last-used state
is available in COBOL only via LE calls.  (As I mentioned in another
post these services are easy to rename perspicuously.)

This situation may change.  IBM would object, strongly and correctly,
to the notion that there is some sort of implicit promise embedded in
its choices, but it is interesting to note that among the keywords not
yet used in Enterprise COBOL but reserved for possible future use are
two,

ALLOCATE and FREE,

that are suggestive, at least to anyone who knows PL/I.


John Gilmore, Ashland, MA 01721 - USA

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to