Brain not working 2day, asp problem

Discussion in 'Software' started by man_im_bored, Jun 21, 2003.

  1. man_im_bored

    man_im_bored Private E-2

    I need to create an array :

    i=20
    dim theArray(i)

    I haven't actually done this one before where you say that the number of array value's you want is equal to a varable rather than a constant, so......

    how do i make "i" a constant? (Because it comes up with the error saying 'needs to be a constant integer')

    I tried int(i) before declaring the array, but it didn't work:(
     
  2. goldfish

    goldfish Lt. Sushi.DC

  3. man_im_bored

    man_im_bored Private E-2

    I'm pretty sure I tried that....

    but maybe i didn't. I'll go check (the pc i use for internet is different from my programming one).

    anyone else? If I don't reply, it didn't work.
     
  4. man_im_bored

    man_im_bored Private E-2

  5. Kodo

    Kodo SNATCHSQUATCH

    Dim array()
    i=20
    Redim array(i)
     
  6. man_im_bored

    man_im_bored Private E-2

    I was going to try that....but i forgot. Yeah, thats a lot simpliar thanks....
     
    Last edited: Jun 23, 2003

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds