Modify

#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, on Jan 7, 2008 at 9:48:18 PM

Look in description field

comment:2 by J-Paul Mesnage, on Jan 7, 2008 at 10:11:46 PM

Resolution: rejected
Status: newclosed

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

comment:3 by Jon, on Jan 8, 2008 at 7:19:09 AM

Description: modified (diff)

comment:4 by J-Paul Mesnage, on Jan 8, 2008 at 4:21:50 PM

Resolution: rejected
Status: closedreopened

comment:5 by J-Paul Mesnage, on Jan 8, 2008 at 4:21:58 PM

Owner: set to J-Paul Mesnage
Status: reopenedassigned

comment:6 by J-Paul Mesnage, on Jan 8, 2008 at 4:22:08 PM

Resolution: rejected
Status: assignedclosed

comment:7 by Volly, on Jan 11, 2008 at 2:30:31 AM

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, on Jan 13, 2008 at 9:50:38 AM

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.