How can I read a text file with a DPL script?

Category:
Scripting
Answer

The attached DPL script reads the lines of a text file and prints the values on the output window. The script uses the delimiter defined an input parameter on the Basic Options page of the DLP command to identify the columns of the file.

The folder where the file is located and the name of the file are defined as input parameter on the Basic Options page of the DPL command.

Tags
Back