Jan-28-2017, 09:52 PM
(Jan-28-2017, 07:30 PM)LOLO Wrote: But how can I return at the line i want :(
please answer quickly...
I use python in a site vers 3.3
Python is not Fortran or Basic. You don't return to a line... Computer languages have removed this capability in the 80s for good reasons. If you want to execute some code when a condition is true, then you have an
if
statement followed by a "block" that contains the code to execute if this condition is true. Good programming style recommends that where there are many statements (big block), these statements are put in a function, and the block just becomes a "call" to the function.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net