Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 131,528 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,083 people online right now. Registration is fast and FREE... Join Now!




Array Problems

 
Closed TopicStart new topic

Array Problems

zakary
post 1 Mar, 2005 - 11:18 AM
Post #1


D.I.C Regular

Group Icon
Joined: 15 Feb, 2005
Posts: 398



Thanked 6 times

Dream Kudos: 175
My Contributions


Question! Is there a way to get the size of an array?

I want to have a for loop that runs to the end of an array

for i = 0 to array().size
'do something
next

I know that arrray().size is wrong can anyone tell me the right way to do this
User is offlineProfile CardPM

Go to the top of the page


zakary
post 1 Mar, 2005 - 12:02 PM
Post #2


D.I.C Regular

Group Icon
Joined: 15 Feb, 2005
Posts: 398



Thanked 6 times

Dream Kudos: 175
My Contributions


I got it

For i = 0 To UBound(array)

next

Thanks any way
User is offlineProfile CardPM

Go to the top of the page

Closed TopicStart new topic
Time is now: 11/20/08 01:29AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month