|
Joe P and Bob C: It is true that using you save some typing time when using sub-routine. However, the problem comes when sometime in the future you happen to have to create a sub-proc and it really need to execute one the of sub-routine that was created because of you want to save some tying time. Joe L: For some reasons you seems to think that it is reaaaally bad to access/update global variables from sub-proc. I don't know about your shop, but if I apply such a rule in my shop, I don't think I will be using sub-proc very often at all. All fields from F spec are global. In most case, I need to use them in most of my sub-proc. If would be quite a pain if I've to pass them in every time I need them. I'm not saying that it is good to access/update them in sub-proc, but if you design it correctly, it should be fine.
As an Amazon Associate we earn from qualifying purchases.
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.