Artifacts Associated With Ticket 426038ffffffffffffffffffffffffffffffffff
Ticket change [cbdfe0ca6a] (rid 95595) by davidw on 2001-05-21 20:13:15:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
@ashland [~] $ tclsh tclsh8.3 [~]variable tclsh8.3 [~] It should produce an error: % variable wrong # args: should be "variable ?name value...? name ?value?"
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "davidw"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to: "variable has to have at least one arg"
- type initialized to: "Patch"
Ticket change [5cf84eb4c0] (rid 115384) by davidw on 2001-05-22 03:13:16:
- icomment:
File Added - 6517: /home/davidw/tcl.diff
- login: "davidw"
- mimetype: "text/plain"
- username: "davidw"
- icomment:
Add attachment "tcl.diff" [1ffe4f4d19] (rid 133630) by davidw on 2001-05-22 03:13:16.
Ticket change [2bc970ed56] (rid 118803) by dkf on 2001-05-22 17:08:41:
- subsystem changed to: "07. Variables"
Ticket change [ab38ce1e25] (rid 101065) by hobbs on 2001-07-04 04:09:51:
- closedate changed to: "2001-07-03T21:09:51"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Strictly speaking, the command is defined to accept no arguments and do nothing. I don't know what the value of that is, but changing it might effect someone that was doing something silly like: eval variable $args
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"
- username: "hobbs"
Ticket change [850ad99a25] (rid 131259) by dgp on 2001-07-04 07:37:19:
- closedate changed to: "2001-07-04T00:37:19"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 I disagree, Jeff. Looking carefully at the SYNOPSIS of the [variable] man page: variable ?name value...? name ?value? it is indicated that [variable] needs at least one "name" argument. [variable] is acting contrary to that documentation, so there *is* a bug. My opinion: anyone counting on no arguments to [variable] working is relying on undocumented behavior and deserves whatever incompatibility they suffer. But, I'd accept an update to the docs to match the behavior as well.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [45cc86dae4] (rid 99409) by hobbs on 2001-07-04 07:51:52:
- closedate changed to: "2001-07-04T00:51:52"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Doh, David and Don are correct. I was led astray by seeing the first arg as a '?', not noting the later required 'name' (weird). I've added the patch to 8.4a3 with tests (nothing was expecting the no args in the test suite).
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- username: "hobbs"