Sign in to follow this  
Followers 0
DarkNecromancer

While .. problems

3 posts in this topic

I dont understand this, I can't figure out how to find the length of an array i have so i was going to create a while statement to figure it out. But when i do the while statement i cant just say while $array , it wants something to add to the while statement. what do i add, i cant seem to find any value the while statement will return once the while is no longer valid or what not does anyone have any ideas?

Share this post


Link to post
Share on other sites



Look at the UBound function to figure out the size of an array.

*** Matt @ MPCS

Share this post


Link to post
Share on other sites

Also - if you created the array with StringSplit(), the length will be in the element with index=0 (see help on StringSplit)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0