C
Chris
Hello,
I'm just getting started with VB and am new to the group,
so please excuse what may seem to be a rudimentary
question.
I've been writing basic programs and have noticed that the
syntax for some of these functions have been set up with
the keywords "Public Shared Function" (for example, the
Trim function) and others are set up just as "Public
Function" (for example, the IsNumeric function).
Before I came here, I tried to answer my own question,
thinking that the reason for the "Shared" keyword was that
the function would be available no matter where I went in
VB. But it works this way for both types.
Why do some functions include the "shared" keyword, and
others do not?
Thanks in Advance,
Chris
I'm just getting started with VB and am new to the group,
so please excuse what may seem to be a rudimentary
question.
I've been writing basic programs and have noticed that the
syntax for some of these functions have been set up with
the keywords "Public Shared Function" (for example, the
Trim function) and others are set up just as "Public
Function" (for example, the IsNumeric function).
Before I came here, I tried to answer my own question,
thinking that the reason for the "Shared" keyword was that
the function would be available no matter where I went in
VB. But it works this way for both types.
Why do some functions include the "shared" keyword, and
others do not?
Thanks in Advance,
Chris