https://bugs.kde.org/show_bug.cgi?id=420369
Zeyad Kamal <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Zeyad Kamal <[email protected]> --- Hi, I tried this. After "go 200, 200", getx printed 200, and "$c = getx", "$c - 50" and "getx - 50" printed 200, 150 and 150, so getx and the math with it work for me. In the script, the recursive call runs before gox/goy, so the smaller squares move the turtle first, and the outer calls then read the new position. Could you check if reading getx/gety once before the recursion and passing them as parameters fixes it for you? If you still see a wrong getx value, let me know and I'll look again. Thanks! -- You are receiving this mail because: You are watching all bug changes.
