MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #27678 All Revisions ] Back to Issue ]
Summary 0027678: Draw User's guide contains wrong example for for-loop
Revision 2016-07-14 16:23 by Timo
Description In the Draw User's guide (chapter "The Command Language"), there are examples for TCL for-loops, but the condition of the for loop is wrong.


for {set i 0} {$i 10} {incr i} {
=>
for {set i 0} {$i < 10} {incr i} {



for {set i 1} {$i = 100} {incr i} {
=>
for {set i 1} {$i < 100} {incr i} {
Revision 2016-07-14 16:22 by Timo
Description In the Draw User's guide, there are examples for TCL for-loops, but the condition of the for loop is wrong.


for {set i 0} {$i 10} {incr i} {
=>
for {set i 0} {$i < 10} {incr i} {



for {set i 1} {$i = 100} {incr i} {
=>
for {set i 1} {$i < 100} {incr i} {


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker