Added "abortbatch" command for use within batch files.

It gives a user the option of  aborting a batch file if their code detects an error.

r2192 | ffr | 2007-10-23 12:46:16 +1000 (Tue, 23 Oct 2007) | 3 lines
This commit is contained in:
Ferdi Franceschini
2007-10-23 12:46:16 +10:00
committed by Douglas Clowes
parent 7b0162177e
commit 3a7e6a9768
3 changed files with 7 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ static void AddCommands(SicsInterp *pInter)
NHQ200InitProtocol(pInter);
AddCommand(pInter,"MakeTCPSelector",VelSelTcpFactory,NULL,NULL);
AddCommand(pInter,"portnum",portNumCmd,NULL,NULL);
AddCommand(pInter,"abortbatch",AbortBatch,NULL,NULL);
AddCommand(pInter,"MakeHMControl_ANSTO",MakeHMControl_ANSTO,NULL,NULL);
AddCommand(pInter,"MakeAsyncProtocol",AsyncProtocolFactory,NULL,NULL);
AddCommand(pInter,"MakeAsyncQueue",AsyncQueueFactory,NULL,NULL);