[Year 12 SofDev] Arrays of unknown length.
RILEY, Bruce
Bruce.RILEY at kew.vic.edu.au
Fri Jun 22 10:02:48 EST 2007
Hi all
I am trying to work out how a example of using a 1-d array of unknown
length to demo to the students. I am using VB .NET
Essentially I want to input an unknown number of integers using an
inputbox, enter a piece of dummy data to end the input, then display
these back to the students.
I am trying to use eg. Dim Score() as integer and then later use ReDim
Preserve(count) but can't get the code right.
Any help would be gratefully received.
------------------------------------------------------------------------
------------
Bruce Riley
ICT Manager
Kew High School
1393 Burke Road
Kew East, VIC. 3102
Australia
Phone: 61 3 9859 8652
Fax: 61 3 9819 7880
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20070622/b96b98c2/attachment.html
More information about the sofdev
mailing list