Importing ASCII code into a state table

When you import ASCII code into a state table, you should take make use of the hints and tips described here:

After successfully importing the state table, you should validate it.

Use the following procedure to import code developed using an ASCII editor into a state table. Alternatively, you can use the DTst command to import your state table. See The DTst command.

To import ASCII code into a state table:

  1. From the Welcome window, click on Applications —> State Tables.
  2. Open the state table, or click New to create a new one. The system displays the State Table window with the selected state table.
  3. Click Utilities —> Import. The system displays the Import File window:

    A screen capture of the Import File window

  4. If necessary, type the path name of the directory in Search String. Click Search to change to that directory.
  5. Select the name of the file you want to import in the list of Files, or type the file name in the Selection field.
  6. Click OK to import the file. The system displays the Validation Errors window if it finds any errors.

    A screen capture of the Validation Errors window, showing a kist of errors by line number.

  7. Make any necessary changes and repeat from Step 3. The system displays the successfully imported state table in the State Table window.

    A screen capture of the State Table window, showing the contents of an unnamed state table.

  8. Save the state table and Validate it. Use Save As... for a new state table.
  9. Close the State Table window.