Sign in to follow this  
Followers 0
Dirk Diggler

is a bug? FileOpen don't set @error

3 posts in this topic

Using autoit 3.2.0.1 run this script with any string - @error is equal 0 even if file not exist!

$in=FileOpen($cmdline[1],0)

MsgBox(0,'',@error)

Share this post


Link to post
Share on other sites



Using autoit 3.2.0.1 run this script with any string - @error is equal 0 even if file not exist!

it says it returns -1 not sets @error try:

$in=FileOpen($cmdline[1],0)
MsgBox(0,'',$in)

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

oops. sorry. my fault. please kill the topic.

Edited by Dirk Diggler

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