Jump to content

why why why why this happens?


 Share

Recommended Posts

hi,

this is my code:

#include <File.au3>
#include <String.au3>
#include <Array.au3>
Dim $EREZ[100]



_FileReadToArray ("c:\erez1.txt",$EREZ)

_ArrayDisplay ($EREZ)

can't get the file erez1.txt into the $EREZ array, tried to remove null(0) didn't help. anyone?

Link to comment
Share on other sites

Maybe...

#include <File.au3>
#include <String.au3>
#include <Array.au3>
Dim $EREZ

$Read = FileReadLine("c:\erez1.txt", 1)

$Replace = StringReplace($Read, "", "")
$Replace = StringReplace($Replace,Chr("7f"), "") 
$EREZ = StringSplit($Replace, "[") 

_ArrayDisplay ($EREZ)

8)

Yes yes yes yes yes yes yes ,,, you are another GOD! Thanks you saved me...
Link to comment
Share on other sites

*Adds Valuater as a GOD on Olympus*

Now....the hard part........ The God of "What"??? :)

No, not the God of what, the God of Why.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
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...