HP3000-L Archives

April 2002, Week 4

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:
michael a <[log in to unmask]>
Reply To:
michael a <[log in to unmask]>
Date:
Sat, 27 Apr 2002 15:18:50 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
Hi,

to reduce the size of the program and allow memory
allocaation at run time you should use
'$control subprogram' , the side effect is that
the variables in the linkage section are initialized
only once.

this is similar to static variables in C or C++.

Thanks
Michael Abootorab

--- Richard Gambrell <[log in to unmask]> wrote:
> Michael Abootorab wrote:
> >
> > if you define a variable this large the size of
> the program file will be
> > increased by the variable size.
> >
> > I would suggest to write a subprogram ('not
> dynamic' ) and define the
> > large variable in the linkage section of it.
> >
>
> Ok, why should it not be dynamic?
>
> Richard
> --
> Richard L Gambrell, Director of Computing Systems
> and Networks
> Information Technology Division, University of
> Tennessee at Chattanooga
> Fax: 423-425-4150                Support Help-Desk:
> 423-425-4000
> Direct phone: 423-425-5316       ITD Business
> Office: 423-425-1755
> Mobile (urgent): 423-432-5122    Main UTC:
> 423-425-4111
> Email: [log in to unmask]


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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

ATOM RSS1 RSS2