is there a difference between these two?
Dim b As Integer()
Dim a() As Integer
Printable View
is there a difference between these two?
Dim b As Integer()
Dim a() As Integer
Yeah where the () is placed. :D
No there is no functional difference to my knowledge.
heh I had never seen the first one, where you put the () after the typeQuote:
Originally posted by Edneeis
Yeah where the () is placed. :D
No there is no functional difference to my knowledge.
Its used in VBA.Quote:
heh I had never seen the first one
dim a as integer
dim b() as integer
b() is Array
manesh
You also use the first one when you want a function or something to return an array, since the first set of parathesis are for the arguments.Quote:
Originally posted by MrPolite
heh I had never seen the first one, where you put the () after the type
Public Function Example() As String()
true, but that wasn't the original question. :confused:Quote:
Originally posted by manesh
dim a as integer
dim b() as integer
b() is Array
manesh