NRC_JobfileEraseCmd(int line)
Delete instructions in the job file
Type
int=>Delete instructions in the job file
| Return value | Description |
|---|---|
| 0 | The function is called successfully |
| -101 | Invalid input parameter |
| -102 | The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value |
| -103 | The target object is currently in an inoperable state |
Parameter Option
| Parameter | Type | Description |
|---|---|---|
| line | int | The 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