|
-
Jan 13th, 2007, 01:36 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Declare array in eVB
Can anyone confirm the correct way of declaring an array in eVB? I recently ported an app from VB6 to eVB.
The following declaration appears in the VB6 app:
Private MyCounter(0 To 30) As Long
I replaced the above declaration with the following in eVB:
Public MyCounter(30) As Long
I also tried the following:
Public MyCounter(30, 30) As Long
Unfortunately I still get an error message in eVB: Subscript out of range: ‘MyCounter’.
Any advice?
Last edited by yolandre; Jan 1st, 2008 at 03:08 AM.
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
|