|
-
Feb 5th, 2002, 02:10 PM
#1
Thread Starter
New Member
how to declara public array variable?
Hi,
Anyone could tell me how to declara
Public array(5) as integer
properly? as it was not allowed to do it.
Thanks
gogo
-
Feb 5th, 2002, 02:13 PM
#2
Frenzied Member
I'm not sure what you're doing wrong... this is straight from MSDN:
To create a public array, you simply use Public in place of Dim:
Public Counters(14) As Integer
Public Sums(20) As Double
what version of VB are you using? I'm using 6.0 SP5
-
Feb 5th, 2002, 02:15 PM
#3
Frenzied Member
You have to declare public arrays in a code module
-
Feb 5th, 2002, 08:49 PM
#4
Thread Starter
New Member
Thanks for both of your kind help.
gogo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|