Results 1 to 2 of 2

Thread: [Resolved][2005] Populate an array

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    47

    Resolved [Resolved][2005] Populate an array

    I am tryin to poplate an array with an unknown number of entries from input boxes. When i try Dim array() i get an warning about unassigned values. Is there anyway to do this? This is what i ahve so far

    Code:
    Dim ipadd() As String
            Dim i As Integer = 0
            For i = 0 To 1
                ipadd(i) = InputBox("Ip address to connect to:")
                If ipadd(i) = "" Then Exit For
            Next
    Last edited by qazwsx; Nov 15th, 2007 at 09:50 PM. Reason: Resolved

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width