leftler Posted May 24, 2009 Share Posted May 24, 2009 I have a dictionary text file that has a indeterminate number of lines of words in it. I would like to load that dictionary in to an array so each word (one word per line) has its own element in the array. I know I need to use FileOpen and FileReadLine, but what is a good way to initialize the array to be the correct size without a lot of extra wasted containers. Thank you for your help. Link to comment Share on other sites More sharing options...
leftler Posted May 24, 2009 Author Share Posted May 24, 2009 That looks perfect, thank you. Link to comment Share on other sites More sharing options...
leftler Posted May 24, 2009 Author Share Posted May 24, 2009 Another quick question is there a AutoIt equivalent of the C++ "++var" operator? Link to comment Share on other sites More sharing options...
leftler Posted May 25, 2009 Author Share Posted May 25, 2009 Well the long way of doing ++var is var = var + 1, I will just use that. 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