SCOUG-Programming Mailing List Archives
Return to [ 15 | 
February | 
2004 ]
<< Previous Message << 
 >> Next Message >>
 
 
 
Content Type:   text/plain 
"...I did.  Here, Lynn, is the exact example I gave (see my   
Saturday morning message): ..."  
 
I used to enjoy your tormenting of Steven Levine.  Now I see   
you are an equal opportunity employer.  As we have been all   
over the place on this one and you are in your usual game of   
playing moving target I will try to be more specific on this one.    
To answer my question about the importance of marking the   
begining and end of calculation sequences here in includes the   
sequence of calculating the dynamic dimensions.  That means   
the following:  
 
 begin;  
 /* calculate the dimensions A, B */  
 end;  
 begin;  
 /* allocate matrix and perform calculations */  
 dcl matrix (A, B);  
 .....  
 end;  
 
Just do the same for the calculations of all the other   
dimension variables.  
 
You can't because it doesn't work.  It doesn't work for the   
very same reason of allocation and deallocation that the   
begin-end sequence works for you in the instances you use.    
That says that you don't have a memory or forgetfulness   
problem when it comes to knowing where to insert the 'begin'   
or the 'end', but you do when it comes to 'allocate' and 'free'.    
I find that an acute memory problem for which you should   
seek medical help.    
 
Most others, I hope, reading this by now know that their use is   
synonymous, easily remembered, more understandable by the   
casual reader of different programming languages, and more   
easily transferred across programming languages.  As PL/I   
doesn't force you to be more considerate of others, given the   
rather narrow audience of one who has to read your code, I   
suggest you just continue blissfully along this path.  If and   
when you ever get to list processing, I will be among the first   
to insist that you do it with begin-end sequences.  Trying to   
solve that one will keep you busy enough so that the rest of   
us will have more "free" time to "allocate" to something else.  
 
 
=====================================================  
 
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 [ 15 | 
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.
 
 |