|
2006-03-15
| ||
| 05:09 | • Closed ticket [910732ffff]: puts returns obsolete error message plus 8 oth... artifact: bed00acb5a user: andreas_kupries | |
|
2004-03-08
| ||
| 22:32 | • Ticket [910732ffff]: 4 changes artifact: 2778293fe8 user: dkf | |
|
2004-03-05
| ||
| 20:16 | • New ticket [910732ffff]. artifact: 1eeda5e06d user: johnseal | |
[puts] returns obsolete error message
Closed / Wont Fix910732ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 21 years ago
Descriptionplain2004-03-05 20:16:16
In Tcl 8.4.5 on Mac OS X 10.3.2:
% puts a b c
bad argument "c": should be "nonewline"
Why does [puts] complain about "c", instead of "a"?
For [puts] with three arguments, only the first *must*
be -nonewline.
Don Porter says:
"Long ago, while the earth was still cooling, in Tcl 6,
the [puts] command had a different syntax:
puts ?channel? string ?nonewline?
Parts of Tcl were still using this internally as late
as Tcl 8.3.
The [puts] command still recognizes the syntax, and
produces an error message for it, though that should go
away at the next major revision."
That syntax is no longer documented, but apparently
still permitted. The error message should be changed
to agree with the documented syntax.
dkfplain2004-03-08 22:32:58
Logged In: YES user_id=79902 Why? The syntax itself is on death row :)
andreas_kupriesplain2006-03-15 05:09:30
Logged In: YES user_id=75003 See RFE 1449945 for request on finally killing the syntax itself.
Log in (anonymous is fine) to add a comment.