Because the program running within myfunction, so can't added in the for loop if judgment is greater than a certain time, another idea is to use the Timer, to a specified time after the jump out to, but I try to also not line,
Which ace to give directions there is no other good method, thank you very much!
for (I=1; iMyfunction;//one cycle takes over a certain period of time is out of this function
}
CodePudding user response:
Encapsulates a task, start to perform start the timer, the time is cancelledCodePudding user response: