Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-07-02
18:30 • Closed ticket [3024216fff]: tcl::prefix error message wrong plus 7 other cha... artifact: f800276791 user: dkf
17:50 • Ticket [3024216fff]: 4 changes artifact: 6185a97d5b user: pspjuth
08:56 • New ticket [3024216fff]. artifact: 1cbb30d35c user: cnassau

tcl::prefix error message wrong

Closed / Invalid3024216fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-07-02 08:56:42
this error message is wrong:
   % tcl::prefix match -message xxx
   bad option "xxx": must be -message

it should be
   wrong # args: should be "tcl::prefix match ?options? table string"
pspjuthplain2010-07-02 17:50:16
The error message is actually correct. The call is correct.
You asked for the string "xxx" to be matched to the table
containing "-message", and there was no match.
The two last arguments are always the table and the string,
only if there are more, it is searched for options.
dkfplain2010-07-02 18:30:51
allow_comments - 1
Log in (anonymous is fine) to add a comment.