Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#6 closed Bug (Rejected)

StringInStr not reporting error

Reported by: Volly Owned by: J-Paul Mesnage
Milestone: Component: AutoIt
Version: 3.2.10.0 Severity:
Keywords: Cc:

Description (last modified by Jon)

WHen using string in string, I made a mistake in the code. I did this:

$stendSSB = StringInStr($read,'td width="100%"',18)

With 18 in the casesence slot, I should have gotten a error saying the command was badly formatted. I got no error at all. I should have coded the line like thia:

$stendSSB = StringInStr($read,'td width="100%"',0,18)

Version of AudoIt being used:
3.2.10.0

Attachments (0)

Change History (8)

comment:1 by volly, 18 years ago

Look in description field

comment:2 by J-Paul Mesnage, 18 years ago

Resolution: rejected
Status: newclosed

Nobug error is only reported on occurrence error as described in the doc

comment:3 by Jon, 18 years ago

Description: modified (diff)

comment:4 by J-Paul Mesnage, 18 years ago

Resolution: rejected
Status: closedreopened

comment:5 by J-Paul Mesnage, 18 years ago

Owner: set to J-Paul Mesnage
Status: reopenedassigned

comment:6 by J-Paul Mesnage, 18 years ago

Resolution: rejected
Status: assignedclosed

comment:7 by Volly, 18 years ago

rejected...then reopened...then rejected....I'm not sure what is going on here. somewhat confusing. I just expected when I made the error when I tried the code, Scite would report the syntax error. no biggie if not addressed. I just wanted to make sure it was noted in the system. Thanks guys for looking into it.

comment:8 by anonymous, 18 years ago

I was of the opinion that the case sense param wasn't "0 or 1", it was "0 or <>0" (similar to false/true). Hence 18, while confusing, is a perfectly valid parameter.

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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