View Full Version : Command Based Program Interuptions
inkspell4
11-03-2013, 20:21
When one of the commands in or program it afterwards returns to the command. How can we force a command to stop after being interrupted?
Is the first command a subsystem's "default" command? In that case, another command that requires the subsystem will interrupt the default command, but then the default command will later be rescheduled after the subsystem is no longer required.
If we aren't talking about default commands, then I'm not sure how an interrupted command would spontaneously restart.
inkspell4
11-03-2013, 21:09
The first command is not the default and it is also resuming at its previous location
inkspell4
12-03-2013, 20:51
If it helps we have used print statements to check and if the code is not interrupted it will finish as expected
F22Rapture
13-03-2013, 00:13
Put an end(); statement under interrupted();
inkspell4
13-03-2013, 16:00
What would this look like?
inkspell4
13-03-2013, 20:46
The issue was fixed.
Solution:
Add reqires(____);
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.