#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 )
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 , 18 years ago
comment:2 by , 18 years ago
| Resolution: | → rejected |
|---|---|
| Status: | new → closed |
Nobug error is only reported on occurrence error as described in the doc
comment:3 by , 18 years ago
| Description: | modified (diff) |
|---|
comment:4 by , 18 years ago
| Resolution: | rejected |
|---|---|
| Status: | closed → reopened |
comment:5 by , 18 years ago
| Owner: | set to |
|---|---|
| Status: | reopened → assigned |
comment:6 by , 18 years ago
| Resolution: | → rejected |
|---|---|
| Status: | assigned → closed |
comment:7 by , 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 , 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.

Look in description field