|
Hello,
On 3/1/2010 11:58 AM, Rory Hewitt <rory.hewitt@xxxxxxxxx> wrote:
If you're not using local variables in the subprocedures, you areprobably
just as well off using (gasp!) subroutines, since each subroutine can
include the return statement:
Just wanted to point out that, not thing else, David was using the
return value of the subprocedure to help control the flow of his
application.
So even though he wasn't using parameters, he was still using one of the
features of subprocedures. Maybe this is just a stepping stone to
ultimately using more of the features down the road... But in any
case, he is getting the benefits of using the procedures directly in an
expression, which is enough to warrant procedures vs. subroutines.
Just an observation.
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.