Modify

Opened 12 years ago

Closed 12 years ago

#2435 closed Bug (No Bug)

Different behaviour between "=" and "=="

Reported by: binhnx89@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.8.1 Severity: None
Keywords: Cc:

Description

It's different result when use "=" or "==" to compare string value with an integer number of 0:
Local $sTest = "test"
ConsoleWrite($sTest == 0) ; True
ConsoleWrite($sTest = 0) ;False

Change History (1)

comment:1 Changed 12 years ago by Melba23

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

No bug - see 2434

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

Author


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

 
Note: See TracTickets for help on using tickets.