beautypg.com

Juniper Systems JS600 User Manual

Page 77

background image

PolyTools Program Page 7-17

The error codes and warnings are written out to an error file labeled with the same filename as
the program file and the extension .ERR.

Correcting a Program File
To repair a program file, exit PolyTran and return to Edit. Do not attempt to edit the translated
program file. Edit the original source code file and then translate the file again.

After you have saved the edited file, return to PolyTran to re-translate it. Even though your
original program was incorrect, PolyTran saved the translated file. The program name auto-
matically appears in the Input File field. You want to “overwrite” (replace) the saved, trans-
lated file with the corrected version. Press twice to select the displayed file. The
following message appears in the bottom of the screen:

File already existed.

Overwrite it? (Y/N) _____

Type to translate the file again.

If you do not receive any more error codes or warning messages, you are ready to download
the program into your FieldBook.

Tutorial: To see what the SIMPDEM program looks like after it is translated, enter the Poly Edit

submode and open the SIMPDEM.PGM file. You will see that line numbers have been added and
comments have been removed.