← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #411717]: can't repeat function inside while True

 

Question #411717 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/411717

Description changed to:
hello, i can't get this piece of code working and i have no idea as to
why...


def ABC():
    while True:
        some codes
################################
(Mainloop)
while True

    some codes

    ABC()

   some codes

the above code repeats mainloop indefinitely, 
and when it arrives at the ABC() function, it should indefinitely repeat ABC(), until the code breaks when it fulfills the condition that requires it

however, what i am experiencing is, the ABC() only goes through once.
it doesn't repeat, it's as if "while True" inside def ACB() is being ignored...
so, it just goes through ABC and continues on with the rest of the codes in main loop...

can somebody help me please T.T...

i can't solve this on my own... please help...

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.