Opened 14 years ago

Closed 14 years ago

#1592 closed Bug (No Bug)

Int() does not set error status on fail

Reported by: mward@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Int Cc:


The documentation for Int( expression ) says

Return Value

Success: Returns a integer.
Failure: Returns 0 sets @error to 1 if not an integer, float or string.

However, the following code does not set @error

Local $liTest = Int("hello")

If @error

;not reached

I am running autoit on Windows XP 64 SP2

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

reread the doc there is no @error setting for a string

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.