Sign in to follow this  
Followers 0
Kanshouzhe

_FileReadToArray?

5 posts in this topic

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

#3 ·  Posted (edited)

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

... and it does help... thanks!

Share this post


Link to post
Share on other sites

Glad to have been of service :(

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

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  
Followers 0