Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #446

Re: Newbie question about nested subroutines

From "Bob Butler" <bob_butler@cox.invalid>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Newbie question about nested subroutines
Date 2011-10-06 16:54 -0700
Organization A noiseless patient Spider
Message-ID <j6lf68$sp4$1@dont-email.me> (permalink)
References <4e8df7f8$1@dnews.tpgi.com.au> <j6l4kq$pth$1@dont-email.me> <4e8e3c39@dnews.tpgi.com.au>

Show all headers | View raw


"Dimmer" <Dimmer@Best.com> wrote in message 
news:4e8e3c39@dnews.tpgi.com.au...
> Thanks Bob. Looks like you have solved my problem with Process (a keyword 
> I was unfamiliar with)

'Process' is not a keyword; I just created a sub and named it 
"ProcessDelAndESC" so that loking at the calling code I would have some idea 
what it does.  You can name it anything you like within the rules for 
procedure and variable names.

Thorsten is right that a control array might also work for you; it depends 
on what else you are doing with the controls.  The more they have in common 
the easier a conrol array would make things.

> and By Val (an asepct that I am only just coming to terms with.

'byval' and 'byref' are important to understand; I typically use ByVal out 
of habit unless I need ByRef or performance is critical.  Either would work 
here and a case can be made that ByRef would be more efficient.

> I totally agree with you about giving Text boxes and Labels meaningful 
> names and I do in most of my projects. With this one, I have printed 
> images of the form and marked the text boxes and labels with their numeric 
> (default) names, precisely for the reason you say.

That's fine until you can't find the printed image

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 05:48 +1100
  Re: Newbie question about nested subroutines "Bob Butler" <bob_butler@cox.invalid> - 2011-10-06 13:54 -0700
    Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 10:39 +1100
      Re: Newbie question about nested subroutines "Bob Butler" <bob_butler@cox.invalid> - 2011-10-06 16:54 -0700
        Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 11:34 +1100
  Re: Newbie question about nested subroutines "Access Developer" <accdevel@gmail.com> - 2011-10-06 16:05 -0500
    Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 10:41 +1100
      Re: Newbie question about nested subroutines "Access Developer" <accdevel@gmail.com> - 2011-10-06 22:49 -0500
  Re: Newbie question about nested subroutines "Thorsten Albers" <gudea@gmx.de> - 2011-10-06 23:16 +0000
    Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 11:36 +1100
      Re: Newbie question about nested subroutines ralph <nt_consulting64@yahoo.net> - 2011-10-06 23:58 -0500
        MZ Tools "Dimmer" <Dimmer@Best.com> - 2011-10-08 19:37 +1100
          Re: MZ Tools ralph <nt_consulting64@yahoo.net> - 2011-10-08 10:53 -0500
    Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 12:15 +1100
    Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 12:32 +1100
      Re: Newbie question about nested subroutines "Bob Butler" <bob_butler@cox.invalid> - 2011-10-06 19:28 -0700
        Re: Newbie question about nested subroutines Deanna Earley <dee.earley@icode.co.uk> - 2011-10-07 09:17 +0100
          Re: Newbie question about nested subroutines ralph <nt_consulting64@yahoo.net> - 2011-10-07 10:26 -0500
            Re: Newbie question about nested subroutines Deanna Earley <dee.earley@icode.co.uk> - 2011-10-07 17:34 +0100
              Re: Newbie question about nested subroutines Deanna Earley <dee.earley@icode.co.uk> - 2011-10-07 17:37 +0100
              Re: Newbie question about nested subroutines ralph <nt_consulting64@yahoo.net> - 2011-10-07 12:04 -0500
            Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-08 05:32 +1100
              Re: Newbie question about nested subroutines ralph <nt_consulting64@yahoo.net> - 2011-10-07 14:30 -0500

csiph-web