documentation: wrong command in example for my
Closed / Fixed2c509f629112e03fd8af850b109c6fbd37cd6e70Created 11 years agoUpdated 11 years ago
Descriptionwiki2015-07-27 14:07:10
In the documentation for
my, in the example the count method calls the command print: this should probably be puts.
Corrected code:
oo::class create c {
method count {} {
my variable counter
puts [incr counter]
}
}
Referenced by1
2aa305b227[2c509f6291] Minor documentation correction from Peter Lewerin. check-in2015-08-18 12:50:08
peterlewerin Ticket [2c509f6291]: 3 changes
[History diff]2015-07-27 14:08:07
dkf Closed ticket [2c509f6291].
[History diff]2015-08-18 12:50:32
Log in (anonymous is fine) to add a comment.