>If the variable is defined as external in the main program, it will be
>allocated every time the program runs and since EXTERNALs are global
>then it has to be defined in all subprograms (if needed).
Yes.
>However if the main program calls another subprogram that calls this
>routine, the variable comes to life only when needed
>Michael Abootorab
No, if it is defined in a SUBPROGRAM its lifetime is the same as with
main. Both have static storage duration.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *