Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

FileOpen and @error

$
0
0
Hello,

i have a strange problem.

When i open a bin file, created by my self and i re read it whit FileReadLine the @error is trowing a  1 in stead off -1.

_FileCountLines Shows 2 line's and that is correct.
FileGetPos Starts at 0, then to 36 and then to 104 and it stays there looping at the line If @error = -1 Then ExitLoop

I open the file whit 0+16 and contains two lines whit EncryptData write whit mode 2+16

I can change @error = -1 to @error = 1 but i don't think that's the correct way.

Any help welcome.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>