Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,472 of 10,840    |
|    B to thomas    |
|    Re: Dynamic array ?    |
|    06 May 05 09:23:25    |
      From: nospam@nospam.com              thomas schreef:       > Hi       >       > I'm writing a program in Visual basic (Visual studio beta 2005)       > In this array I need to somthing like       >       > array(0) = 0       > array(1) = 1       > array(2) = 2       > array(3) = 3       >       > i then delete array(2) = 2       >       > the array must then resize to       >       > array(0) = 0       > array(1) = 1       > array(2) = 3       >       > How can I do this ?       >       > --       > thomas              So the next step is               array(2) = array(3)              the resize it. In VB 6 this is               Redim preserve array(0 to 2)              the preserve statement will keep the existing values.              B.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca