Vb help -arrays
#2
Mornin' Si
You can guess what I'm going to say, can't you? I'm not on a wind-up here, but am really trying to help...
This is easy, and to check your understanding you really should work it out for yourself.
Without wishing to preach , there's some things that you simply must work out for yourself. We could post an answer in 5 minutes, but ultimately that does bugger all for you because you still won't be able to do the stuff by yourself.
Check your book, you'll find arrays in there. Start with statically bound arrays, get that working, then look at dynamic. Caveat: when you resize an array, by default VB throws away the contents of the array unless you specify another keyword.
Have a bash at it, you can do it.
If you get stuck, post what stage you've got to and then we can give you hints where to look.
Cheers,
Nick.
You can guess what I'm going to say, can't you? I'm not on a wind-up here, but am really trying to help...
This is easy, and to check your understanding you really should work it out for yourself.
Without wishing to preach , there's some things that you simply must work out for yourself. We could post an answer in 5 minutes, but ultimately that does bugger all for you because you still won't be able to do the stuff by yourself.
Check your book, you'll find arrays in there. Start with statically bound arrays, get that working, then look at dynamic. Caveat: when you resize an array, by default VB throws away the contents of the array unless you specify another keyword.
Have a bash at it, you can do it.
If you get stuck, post what stage you've got to and then we can give you hints where to look.
Cheers,
Nick.