Sign in to follow this  
Followers 0
Kanshouzhe

Processing Array Contents

5 posts in this topic

Ok Guys... so I am really new at this. I successfully created my first array and was able to display the contents.

My question is: does anybody have a SIMPLE script that demonstrates how to process the contents of an array in a Do...While loop? For the better part of a day I have been trying to figure out how to "access" the contents of the array. :">

Thanks.

Share this post


Link to post
Share on other sites



Like this ?

For $i = 1 To $array[0]
    MsgBox(64,"",$array[$i])
Next

Share this post


Link to post
Share on other sites

Helge- that's cool. But what I need to do is set the current array value to a variable. I am taking a list of server list and do a file update on each server.

Share this post


Link to post
Share on other sites

Hang on... think I got it. Man i am slow. :(

Share this post


Link to post
Share on other sites

Got it. I really appreciate the help! Couldn't have done it with out you.

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