Jump to content

is a bug? FileOpen don't set @error


Recommended Posts

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.

 

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...