MedVision ad

version of vb (1 Viewer)

What version of VB

  • Vb.net

    Votes: 3 21.4%
  • vb6

    Votes: 10 71.4%
  • earlier than vb6

    Votes: 0 0.0%
  • no vb what so evr

    Votes: 1 7.1%

  • Total voters
    14

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by HellVeN
If you're not sure about the upper bound of the array, use the redim statement to redefine the limits of the array. The Preserve keyword keeps the contents of the array.


Dim IntegerArray() As Integer
Dim i As Integer

For i = 0 To 8
ReDim Preserve IntegerArray(i)
IntegerArray(i) = i
Next i


Remember that this sets 9 numbers (0 to 8).
Yeah i remember that, heh... i don't think i've touched VB in ages...
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by dastonecutters
lol ok two questions for ya winston...

1.. how do i create an array with the characters a to z in it

2... winston are u a teacher, student like what is ur occupation... jus wondering

I'm not a teacher lol... wtf... :p... and sorry for not posting a reply, still in exam period, and studying like hell :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top