× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




I have been using sub procedures exclusively in my code for about 3 years
now. One things that I continually have trouble with is a growing number
of parameters that I pass around. If one procedure gathers a bunch of data
and a couple different sub procedures need to process with that data, all
of that data has to be declared and passed. I'm talking about data
structure data, so lumping the variables into a data structure would mean
data structures within data structures. I've done this data structure
nesting before and it looks confusing when I come back to it later. What I
find myself wishing for is variables global to the current call level.
This could be accomplished with local subroutines I'd guess.

Am I doing it wrong?




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.