Agreed.  I only do this only very small utility routines that I need to get 
done in 10 minutes or so.

-------------- Original message -------------- 

> In a message dated 7/13/2005 9:11:23 PM Pacific Daylight Time, 
> [EMAIL PROTECTED] writes: 
> 
> 
> > SELECT FILE TO LIST 
> > LOOP 
> > READNEXT ID FROM LIST ELSE ID = @AM 
> > UNTIL ID = @AM DO 
> > REPEAT 
> > 
> > SELECT FILE 
> > LOOP 
> > READNEXT ID ELSE ID = @AM 
> > UNTIL ID = @AM DO 
> > REPEAT 
> 
> I agree that I don't see any extra overhead. 
> But why do you use an odd convention like ID = @AM ? 
> In this small loop it's probably apparent what you're doing but if the 
> distance between the LOOP and the UNTIL were large enough I dare say you'd be 
> adding 
> confusion to the mix for any future programmer. 
> 
> What I do is 
> DONE = @FALSE 
> LOOP 
> READNEXT ID ELSE DONE = @TRUE 
> UNTIL DONE DO REPEAT 
> 
> I think DONE is a more clear-cut variable usage rather than setting ID to @AM 
> personally. Just my opinion. 
> 
> Will Johnson 
> ------- 
> u2-users mailing list 
> u2-users@listserver.u2ug.org 
> To unsubscribe please visit http://listserver.u2ug.org/ 
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to