
Newbie Question: Dim A() as String /Dim A as String()
: This is a question with what is probably a very simple answer but after
: stopping at Borders and looking at half a dozen books trying to find one
: that explained this, I'm desparate.
:
: I believe that when my code states:
:
: dim A() as String
:
: I'm declaring an array A of string values.
:
: What then does the following code do?
:
: dim A as String()
:
: Thanks.
:
: Art
:
Exactly the same thing, the only difference is semantics, ie
Dim A() As String is saying create an array called A and and make it hold
strings
where as
Dim A As String() is saying create a variable called A and make it an array
of strings.
As you can see it's exactly the same. At least that's how I understand it.
HTH