#11 closed defect (fixed)
@words[] does not know the word "0"
Reported by: | Anton Monroe | Owned by: | Gregg Young |
---|---|---|---|
Priority: | trivial | Milestone: | Version-3.10 |
Component: | Base | Version: | |
Keywords: | Cc: | akm@… |
Description
@words[a] returns 1
@words[] returns 1
Claiming there is one word in an empty string is contrary to common sense, useless, and makes for unnecessary complications in loops. This has been around for years in 4DOS and 4OS2, but I still think its wrong.
Change History (4)
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:3 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:4 by , 3 years ago
Milestone: | → Version-3.10 |
---|
Note:
See TracTickets
for help on using tickets.
Rev 38301