Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Array Dimension

Reply
Thread Tools

Array Dimension

 
 
Shapper
Guest
Posts: n/a
 
      06-07-2005
Hi,

I have declared an array as follows:
Dim MyArray As Integer = {1, 2, 3}

How can I get the dimension of the array so I can use it in a Select
Case?

Thanks,
Miguel

 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGF2aWQgQW50b24=?=
Guest
Posts: n/a
 
      06-08-2005
GetUpperBound

David Anton
www.tangiblesoftwaresolutions.com
Home of the Instant C# VB.NET to C# converter
and the Instant VB C# to VB.NET converter

"Shapper" wrote:

> Hi,
>
> I have declared an array as follows:
> Dim MyArray As Integer = {1, 2, 3}
>
> How can I get the dimension of the array so I can use it in a Select
> Case?
>
> Thanks,
> Miguel
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to "new" a two-dimension array in C++? James C++ 11 06-04-2011 03:51 AM
a question about 1-dimension and 2-dimension array Luuk C Programming 15 02-11-2010 02:45 AM
Multi-Dimension Array Question Adam Hartshorne C++ 6 06-08-2005 05:49 AM
newbie question : picture dimension vs print dimension Rene Wong Digital Photography 9 09-30-2003 01:46 AM
How to new a two-dimension array of int Larry Lindsey C++ 5 09-27-2003 12:20 AM



Advertisments