How can I make such that it terminates on my command else it doesn't? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I make such that it terminates on my command else it doesn't?

10th Jul 2016, 1:52 PM
Nandan shukla
Nandan shukla - avatar
4 Answers
0
Could you be a bit more descriptive in your question? What terminates on your command?
10th Jul 2016, 1:56 PM
James
James - avatar
0
the loop which is running repeatedly with breaksm
10th Jul 2016, 1:57 PM
Nandan shukla
Nandan shukla - avatar
0
You could learn about event handlers and put them in your code so when a certain key is pressed, your loop will end
10th Jul 2016, 2:00 PM
James
James - avatar
0
can you help me out?
10th Jul 2016, 4:13 PM
Nandan shukla
Nandan shukla - avatar