You just have to remember that subroutines defined within procedures are
local, and cannot be accessed outside of that procedure.

-----Original Message-----
From: Scott Johnson [mailto:sjohnson@highsmith.com]
Sent: Thursday, January 20, 2000 10:39 PM
To: Midrange List
Subject: Subprocedure questions



Do you use subroutines within a subprocedure???

Do you think it is a good idea to mix subroutines into a 
nomain module???



I am looking for some general opinions.  We had somebody
inhouse write a bunch of procedures that in turn contained
subroutines.  I found them difficult to follow.  If they
had been subprocedures instead I think the code would have been
a lot easier to read.
 
--  THANKS
------------------------------------------------------
Scott P. Johnson
Microcomputer Development Specialist
IBM Certified Specialist - AS/400 RPG Programmer
Highsmith Inc.
W5527 Hwy 106, PO BOX 800
Fort Atkinson, WI 53538-0800
TEL:  920-563-9571                FAX:  920-563-7395
sjohnson@highsmith.com
www.highsmith.com
------------------------------------------------------
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to 
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: 
david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].