Tcl Source Code

View Ticket
Login
Ticket UUID: 2b7d3233ae2bc579f809db225e2fbb30ef6d56f6
Title: minor doc error
Type: Bug Version: 9.0b2
Submitter: mnsummerfield Created on: 2024-07-09 10:02:43
Subsystem: 69. Other Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2024-07-09 10:02:43
Resolution: None Closed By: nobody
    Closed on:
Description:
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.