Jump to content

Loading variables from a file


Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...