Opened 15 years ago

Closed 3 years ago

Last modified 3 years ago

#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 Anton Monroe, 15 years ago

Cc: akm@… added

comment:2 by Gregg Young, 3 years ago

Owner: changed from somebody to Gregg Young
Status: newaccepted

comment:3 by Gregg Young, 3 years ago

Resolution: fixed
Status: acceptedclosed

Rev 38301

comment:4 by Gregg Young, 3 years ago

Milestone: Version-3.10
Note: See TracTickets for help on using tickets.