Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.