Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21900

calling an array in vb6

$
0
0
i have an array called word() with words from 1 to 10. i also have an integer variable called number, and this variable will change every time a certain command button is clicked. what i want to know is how to call the array with my variable (if that makes any sense)
for example: i have tried code such as
msgbox(word(number))
but to no avail, i have have been stuck on this for a while so any help appreciated. :thumb:

Viewing all articles
Browse latest Browse all 21900

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>