Kanshouzhe Posted May 11, 2005 Share Posted May 11, 2005 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. Link to comment Share on other sites More sharing options...
Helge Posted May 11, 2005 Share Posted May 11, 2005 Like this ? For $i = 1 To $array[0] MsgBox(64,"",$array[$i]) Next Link to comment Share on other sites More sharing options...
Kanshouzhe Posted May 11, 2005 Author Share Posted May 11, 2005 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. Link to comment Share on other sites More sharing options...
Kanshouzhe Posted May 11, 2005 Author Share Posted May 11, 2005 Hang on... think I got it. Man i am slow. Link to comment Share on other sites More sharing options...
Kanshouzhe Posted May 11, 2005 Author Share Posted May 11, 2005 Got it. I really appreciate the help! Couldn't have done it with out you. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now