|
> From: Lim Hock-Chai
>
> 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.
And how often does that happen? It depends on what you're using the
subroutines for. I use them like this:
Select;
When Panel = 1;
Exsr Panel1;
When Panel = 2;
Exsr Panel2;
Other
FatalError('Invalid Panel: ' + %char(Panel));
Endsl;
It's unlikely I'm ever going to call Panel1 from a sub-procedure. I
guess it's just a matter of how you write your code.
Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.