Hi,
Anyone could tell me how to declara
Public array(5) as integer
properly? as it was not allowed to do it.
Thanks
gogo
:rolleyes:
Printable View
Hi,
Anyone could tell me how to declara
Public array(5) as integer
properly? as it was not allowed to do it.
Thanks
gogo
:rolleyes:
I'm not sure what you're doing wrong... this is straight from MSDN:
what version of VB are you using? I'm using 6.0 SP5Quote:
To create a public array, you simply use Public in place of Dim:
Public Counters(14) As Integer
Public Sums(20) As Double
You have to declare public arrays in a code module
Thanks for both of your kind help.
gogo