|
-
Apr 9th, 2006, 07:44 PM
#1
Thread Starter
Junior Member
[RESOLVED] creating and using array
did a search and
i checked out "original monkey gangeter's tutorial on arrays. Followed it to the T and im not getting what i want.
from what i understand to create an array id do this
dim arrayname(#) as datatype
arrayname(0)= "whatever value i want"
arrayname(1)= "whatever i want"
... so on
this doesnt work on mine, the bottome two arrayname's would be underlined in blue and it would say "explicit initialization is nto permitted with arrays declared with excplicit bounds" i have this declared as at the module level, does it belong somehwere else?
and then
how do i specify which element in the array i want using a combo box SelectedIndexChange?
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
|