On page https://www.tcl-lang.org/man/tcl9.0/TclCmd/link.html
There is an example class Ex that ends with these lines:
set o [Ex new]
$o 3 5 7
→ This is a
→ This is b(3)
→ This is c(5,7)
but when I tried the example I got:
unknown method "3": must be a, b, c, call or destroy
while executing
"$o 3 5 7"
When I did `$o call 3 5 7` it worked as expected.
There's no link on the page to edit it or to report a bug
in it so I thought I'd write here.
Am 29.06.2025 um 19:14 schrieb Mark Summerfield:
On page https://www.tcl-lang.org/man/tcl9.0/TclCmd/link.html
There is an example class Ex that ends with these lines:
set o [Ex new]
$o 3 5 7
→ This is a
→ This is b(3)
→ This is c(5,7)
but when I tried the example I got:
unknown method "3": must be a, b, c, call or destroy
while executing
"$o 3 5 7"
When I did `$o call 3 5 7` it worked as expected.
There's no link on the page to edit it or to report a bug
in it so I thought I'd write here.
THanks marc,
the right way is to report bug on TCL fossil.
Shall I do it for you?
THGanks,
Harald
On Sun, 29 Jun 2025 22:06:05 +0200, Harald Oehlmann wrote:
Am 29.06.2025 um 19:14 schrieb Mark Summerfield:
On page https://www.tcl-lang.org/man/tcl9.0/TclCmd/link.html
There is an example class Ex that ends with these lines:
set o [Ex new]
$o 3 5 7
→ This is a
→ This is b(3)
→ This is c(5,7)
but when I tried the example I got:
unknown method "3": must be a, b, c, call or destroy
while executing
"$o 3 5 7"
When I did `$o call 3 5 7` it worked as expected.
There's no link on the page to edit it or to report a bug
in it so I thought I'd write here.
THanks marc,
the right way is to report bug on TCL fossil.
Shall I do it for you?
THGanks,
Harald
I'd be happy to report it but there is no link on the doc pages and
no link to bug reporting that I can see on the main
https://www.tcl-lang.org/ page however I finally found https://core.tcl-lang.org/tcl/reportlist and now I've reported it: https://core.tcl-lang.org/tcl/tktview/0cb3d93aae5ab9201509e904f40bccdf8bceb8ab
Incidentally I didn't see a 'doc' category so used 'other'
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,064 |
Nodes: | 10 (0 / 10) |
Uptime: | 163:56:28 |
Calls: | 13,691 |
Calls today: | 1 |
Files: | 186,936 |
D/L today: |
9,208 files (2,741M bytes) |
Messages: | 2,411,516 |