Skip to main content

NRC_JobfileEraseCmd(int line)

Delete instructions in the job file

Type

int=>Delete instructions in the job file

Return valueDescription
0The function is called successfully
-101Invalid input parameter
-102The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value
-103The target object is currently in an inoperable state

Parameter Option

ParameterTypeDescription
lineintThe line number of the instruction to be deleted, parameter range: 0 < line <= NRC_GetJobfileLineSum()

Sample code

NRC_JobfileEraseCmd(2);//Delete the 2nd line of instruction in the job file