|
-
January 23rd, 2009, 05:22 PM
#1
array building short-cut
is there a way to set multiple indexes on an array? for example need an array of numbers 9,8,5,8,4 is there a short-cut method to arrMyArray(1) = 9 and so forth?
-
January 23rd, 2009, 05:31 PM
#2
Re: array building short-cut
 Originally Posted by PaulJayKnight
is there a way to set multiple indexes on an array? for example need an array of numbers 9,8,5,8,4 is there a short-cut method to arrMyArray(1) = 9 and so forth?
Dim MyArray() As Integer = New Integer() {9,8,5,8,4}
[Vb.NET 2008 (ex Express)]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|