|
-
Apr 22nd, 2001, 05:23 PM
#1
Thread Starter
Lively Member
I declared an array Public, because a bunch of forms are going to be using it.
Code:
Public Arr1() as String
Anyhow, I'm running a for loop, and redimensioning it:
Code:
redim preserve arr(1,1,Counter)
However, whenever I get the counter up one, it gives me 'Subscript out of range'.
Any help?
Thanks!
-
Apr 22nd, 2001, 05:25 PM
#2
I don't think you are able to ReDim Public arrays
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 22nd, 2001, 05:30 PM
#3
Thread Starter
Lively Member
Hehe, I figured it out :P
I redim'ed the array before adding +1 to the counter 
*smacks himself*
Thanks though, and you CAN redim public arrays
-
Apr 22nd, 2001, 05:35 PM
#4
HerculesMO - "Take that crptcblade" *smack*
crptcblade - 
hehehe...sorry 'bout that, somebody told me before that you couldn't...
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 22nd, 2001, 05:37 PM
#5
Thread Starter
Lively Member
Hehe, no problemo thanks for the help.
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
|