Summary: | Nested for loops doesn’t work in KTurtle | ||
---|---|---|---|
Product: | [Applications] kturtle | Reporter: | Karl Ove Hufthammer <karl> |
Component: | general | Assignee: | Cies Breijs <cies> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Karl Ove Hufthammer
2008-12-19 16:01:29 UTC
SVN commit 899390 by nielsslot: Make nested for loops work. This solution works, but probably isn't the best. We should have a look at it again after 4.2 is released. BUG: 178186 M +4 -2 executer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=899390 The fix applied doesn’t work properly. For the above example, it skips the value of y = 1 for all values of x except x = 1. I also got KTurtle to crash by changing the y loop to go from y = 1 to 1, but can’t reproduce that. SVN commit 907287 by nielsslot: Make nested for loops work for y = 1. See bug 178186. BUG: 178186 M +14 -3 definitions.rb M +10 -1 executer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=907287 Karl: I just committed a fix. I now get a 10 by 10 table when running your script in KTurtle. If you encounter the crash again and are able to reproduce, please file another bug. |