Results 1 to 9 of 9

Thread: [2005] Int32[]Array? Array help

Threaded View

  1. #1

    Thread Starter
    Addicted Member Abrium's Avatar
    Join Date
    Feb 2007
    Location
    The Great State of Texas
    Posts
    205

    Question [2005] Int32[]Array? Array help

    I have a small array here and when I debug I receive Int32[]Array... I don't even know what that means at this point but moving on. I am attempting to store the size of fish into an array and this is what I have:

    Code:
    dim fish(19) as Integer
    dim count as Integer = 0
    dim size as Integer
    
    size = Cint(InputBox("What size fish did you catch?"))
    
    For count = 0 to 19
    fish(count) = size
    next count
    
    LisBox1.Items.Add(fish)
    What I am trying to do is have the input box appear 20 times and have each entry stored in the array. Yet when I attempt to run this small lil prog my listbox shows Int32[]Array. Any help guys?

    I'm gonig to research Int32[]Array because I really do not know what this means and I can't find it covered in the book and this is my first attempt at an array.

    Thank you in Advance,
    honest Abe
    Last edited by Abrium; Apr 17th, 2007 at 04:41 AM.
    Abrium
    Asking the beginners questions so you don't have to!
    If by chance hell actually froze over and I some how helped you... Please rate.

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