Re: reinitialize an array
- From: "Stephany Young" <noone@localhost>
- Date: Fri, 19 Jan 2007 12:26:28 +1300
Dim myArray as String() = New String() {"1", "2", "3"}
myArray = New String() {"4", "5", "6"}
Note that the only difference, apart form the value, is that the first time,
the Dim ... is used and subsequently it is not required.
"Seigfried" <Seigfried@xxxxxxx> wrote in message
news:1169160409.318899.46560@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
An array can be initialized with code like this:
Dim myArray() as String = {"1", "2", "3"}
What I'd like to do is reinitialize the same array. Something like the
statement:
myArrray = {"4", "5", "6"}
(which doesn't work, of course)
Any suggestions?
.
- References:
- reinitialize an array
- From: Seigfried
- reinitialize an array
- Prev by Date: Re: Shutting down GUI apps
- Next by Date: Re: Text cast to Date & Time
- Previous by thread: reinitialize an array
- Next by thread: Problem OledbDataAdapter
- Index(es):
Relevant Pages
|