Creating a General Text Parse

You can use the general parser to read data from a file or to write data to a file using a general text format. Creating a general parse is a two-stage operation. First you specify the file from which to read or to which to write, and then you map a parameter from or to selected sections of the file.

In addition, you can specify the characters that serve as word separators in the text file. To increase performance, when you are writing data to a file, you can insert the contents of a selected file at a specified location.


In this section:

Specifying the File to Parse
Reading a Scalar Parameter from a File
Reading an Array Parameter from a File
Reading a Resizable Array Parameter from a File
Writing a Scalar Parameter to a File
Writing an Array Parameter to a File
Writing a Resizable Array Parameter to a File
Reading or Writing a Name/Value Pair from or to a File