SCOUG-Programming Mailing List Archives
Return to [ 13 | 
February | 
2004 ]
<< Previous Message << 
 >> Next Message >>
 
 
 
Content Type:   text/plain 
Peter,  
 
We can cut this one short.  When PL/I exits a procedure it   
automatically deallocates all variables with automatic,   
controlled, or based storage attribute.  The housekeeping   
ceases to be an issue.  The issue is to dynamically allocate   
storage at runtime.  If you had rather write a begin-block to   
do with automatic storage what an allocate statement can   
achieve with controlled or based storage, that's your choice.    
In either instance exiting the begin- or the procedure-block   
has the same result in terms of deallocation.  
 
I won't take up the gauntlet with respect to C and its memory   
management problems which linger on in C++ and JAVA.    
That's why I use PL/I instead.  
 
 
=====================================================  
 
To unsubscribe from this list, send an email message  
to "steward@scoug.com". In the body of the message,  
put the command "unsubscribe scoug-programming".  
 
For problems, contact the list owner at  
"rollin@scoug.com".  
 
=====================================================  
 
  
<< Previous Message << 
 >> Next Message >>
Return to [ 13 | 
February | 
2004 ] 
  
  
The Southern California OS/2 User Group
 P.O. Box 26904
 Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
 
 |