HP3000-L Archives

April 2002, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dennis Handly <[log in to unmask]>
Reply To:
Dennis Handly <[log in to unmask]>
Date:
Tue, 30 Apr 2002 07:03:04 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
Roy Brown ([log in to unmask]) wrote:
: The storage for the subprogram is only assigned *if* it is CALLed, when it
: is first CALLed. It is not assigned at the opening of Main.

No, it doesn't work that way at all for this implementation, unless you
dynamically load a subprogram from a XL with the CALL identifier.
(I'm one of the implementors of COBOLII/iX and I should know.)

What you are possibly talking about is a permissible implementation by the
Standard.

For both main and subprogram the storage is of static duration so it is
there at startup.  About the only effect is paging.
I.e. if you don't touch the pages near the variable, you don't bring in
into memory.  This works the same for both main or subprogram.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2