Example

4.If the error persists or you cannot locate it in the program, use the debug parameter [/] in the Create command as described in the “Error Codes” chapter. Print the file with the IGP program. The debug parameter lists the program, line by line (including the error on the line where the error occurs), followed by the error-free sections of the form. Correct the error and print the file again. When the error has been corrected, delete the debug parameter.

Example

Assume you made two errors in the Box and Corner commands input in steps 3 and 4 of the Form and Bar Code Example on page 229. Using the debug parameter in the Create command produces the following sample listing:

(SFCC) CREATE; /PRACTICE BOX

2;35;16:53;61

***ERROR 24 : BOX format or delimiter error in input parameters

STOP CORNER 3;300;13;57;64;5;7

***ERROR 35 : CORNER vertical length VL out of bounds

***ERROR 31 : CORNER starting row SR out of bounds

***ERROR 39 : CORNER starting row SR > ending row ER STOP

END

From the description of the error messages and the incorrect line identified by the error message, the errors are easily located and corrected. Notice a colon was accidentally input in the Box command where a semicolon was required (error number 24).

/PRACTICE BOX 2;35;16:53;61

***ERROR 24 : BOX format or delimiter error in input parameters

STOP

In the Corner command, the starting row was too large. This single input error caused the vertical length of the corner to extend beyond the form boundaries (error number 35), the starting row to begin outside the form boundaries (error number 31), and the starting/ending row parameters to be out of order (error number 39).

CORNER 3;300;13;57;64;5;7

***ERROR 35 : CORNER vertical length VL out of bounds

***ERROR 31 : CORNER starting row SR out of bounds

***ERROR 39 : CORNER starting row SR > ending row ER STOP

END

249

Page 249
Image 249
Printronix LQH-HWTM manual Sfcc Create /PRACTICE BOX, End