Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0130708f478d2af61efcc58247a95f8f17be7721
Ticket: 2c509f629112e03fd8af850b109c6fbd37cd6e70
documentation: wrong command in example for my
User & Date: peterlewerin on 2015-07-27 14:08:07
Changes

  1. comment changed to:
    In the documentation for <code>my</code>, in the example the <code>count</code> method calls the command <code>print</code>: this should probably be <code>puts</code>.
    
    Corrected code:
    
    <verbatim>
    oo::class create c {
        method count {} {
            my variable counter
            puts [incr counter]
        }
    }
    </verbatim>
    
  2. login: "peterlewerin"
  3. mimetype: "text/plain"