Modify

Opened 16 years ago

Closed 16 years ago

#1562 closed Bug (No Bug)

multiple conditions fail

Reported by: lex771@… Owned by: Jos
Milestone: Component: SciTE4AutoIt
Version: Other Severity: None
Keywords: Cc:

Description

;The problem can best be descriped by the following code:
$feed = "3"
;The problem happens at Switch... Case...
;when there are multiple conditions:
Switch $feed

Case "1" Or "2"

MsgBox(16, "?", "this also happens when $feed = 3")

Case Else

MsgBox(16, "?", "this never happens")

EndSwitch
;The problem is the same at Select... Case...:
Select

Case $feed = "1" Or "2"

MsgBox(16, "?", "this also happens when $feed = 3")

Case Else

MsgBox(16, "?", "this never happens")

EndSelect
;The problem is the same at If... Then...:
If $feed = "1" Or "2" Then

MsgBox(16, "?", "this also happens when $feed = 3")

Else

MsgBox(16, "?", "this never happens")

EndIf
;The compiler accepts this but der program behaves not as supposed
;Is this a bug?
;I use SciTE4AutoIt3 Version 1.79

Attachments (0)

Change History (2)

comment:1 by TicketCleanup, 16 years ago

Version: Other

Automatic ticket cleanup.

comment:2 by Valik, 16 years ago

Resolution: No Bug
Status: newclosed

Taken straight from the guidelines you didn't read:

If you are asking a question you do not have a bug to report, use the forum to ask questions.

The problem, as it were, exists between the keyboard and chair. Learn how the language works - via the forum if necessary - and don't waste time posting silly user-errors as bugs in the language.

Modify Ticket

Action
as closed The owner will remain Jos.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.