My 1 cent on this. I like to pass as few items to subs as possible. If I inherit subs with file handles being passed, then so be it.
My environments, typically 60 users or less, don't give me any grief when opening files in the subs. If I had 500 users then I may think differently. No flames please. I like testing subs at TCL and the external OPEN's get in the way. Mark Johnson ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <u2-users@listserver.u2ug.org> Sent: Wednesday, September 28, 2005 8:43 AM Subject: RE: [U2] Good Programming Practice Question......... > I may have missed someone else mentioning this, don't open files in an > external subroutine that is called from within a loop. Yeah, yeah, I know > you can set up a common, but isn't it cleaner to open the file in the main > routine? > > Bruce M Neylon > Health Care Management Group > ------- > 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/