brodie28 Posted February 3, 2007 Share Posted February 3, 2007 I need to know how to go about creating a two dimensional array with an unknown number of elements. I cant declare it like Dim $array[?][3] because I don't know how many elements there will be. Sorry for the stupid question, but it has been a while since I coded anything. Link to comment Share on other sites More sharing options...
Danny35d Posted February 3, 2007 Share Posted February 3, 2007 UboundDim $array[1][3] For $x = 1 To 10 ReDim $array[UBound($array) + 1][3] $array[$x][2] = $x Next For $x = 1 to 10 ConsoleWrite($array[$x][2] & @CRLF) Next AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line 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