SCOUG-Programming Mailing List Archives
Return to [ 13 |
February |
2004 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
"Okay, good. I thought BEGIN also did memory allocation for
whatever was needed within its block. Yes? No?"
Well, yes and no, the only variables which get allocated at
runtime are those with the automatic storage attribute.
These get allocated on entry to a procedure (or begin) block
and deallocated on exit. Note that the "begin" block in this
instance is "internal" to a procedure block. All you are talking
about is when a specific automatic variable is allocated and
deallocated. Again the primary purpose of the begin-block in
this instance is to avoid naming conflicts where the same
name appears for different variables within the same
procedure block.
=====================================================
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.
|