Jump to content
Sign in to follow this  
Kanshouzhe

_FileReadToArray?

Recommended Posts

When using _FileReadToArray, I am getting an error message back stating that it is an UNKNOWN FUNCTION NAME. Is it just me or is there something I am missing? Thanks! Using 3.1.1.0

_FileReadToArray("c:\testauto\servers.txt", ByRef $ServerArray)

Share this post


Link to post
Share on other sites

Are you including the file at the beginning of your script?

#include <array.au3>

_FileReadToArray("c:\testauto\servers.txt", ByRef $ServerArray)

Where array.au3 is the proper include.

Hope this helps,

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

When using _FileReadToArray, I am getting an error message back stating that it is an UNKNOWN FUNCTION NAME.  Is it just me or is there something I am missing?  Thanks!  Using 3.1.1.0

_FileReadToArray("c:\testauto\servers.txt", ByRef $ServerArray)

<{POST_SNAPBACK}>

You need to include the file functions.

Include <file.au3>

Edited by Kerberuz

Kerby

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...