Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-07-09
10:02 • New ticket [2b7d3233ae] minor doc error. artifact: 4a75b78b78 user: mnsummerfield

minor doc error

Open2b7d3233ae2bc579f809db225e2fbb30ef6d56f6Created 2 years agoUpdated 2 years ago
Descriptionplain2024-07-09 10:02:43
Page: https://www.tcl.tk/man/tcl9.0/TclCmd/define.html#M55 This is the
examples section.
In the example that begins with the line:

  oo::class create DBTable {

The interactive output reported at the end looks slightly wrong. For
example, it shows:

    set u1 [Users insert "username=abc"]
        → DB: create row from ::Users matching username=abc

but I was expecting:

    set u1 [Users insert "username=abc"]
        → DB: create row in ::Users matching username=abc

This also applies to the 'set u2' example that follows.
Log in (anonymous is fine) to add a comment.