• doc bug on Tcl link command

    From Mark Summerfield@m.n.summerfield@gmail.com to comp.lang.tcl on Sun Jun 29 17:14:05 2025
    From Newsgroup: comp.lang.tcl

    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.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Harald Oehlmann@wortkarg3@yahoo.com to comp.lang.tcl on Sun Jun 29 22:06:05 2025
    From Newsgroup: comp.lang.tcl

    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
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mark Summerfield@m.n.summerfield@gmail.com to comp.lang.tcl on Mon Jun 30 17:04:55 2025
    From Newsgroup: comp.lang.tcl

    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'
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Harald Oehlmann@wortkarg3@yahoo.com to comp.lang.tcl on Tue Jul 1 08:27:13 2025
    From Newsgroup: comp.lang.tcl

    Am 30.06.2025 um 19:04 schrieb Mark Summerfield:
    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'


    Well done, thank you. It is exactly at the right place.

    Take care,
    Harald
    --- Synchronet 3.21a-Linux NewsLink 1.2