XPAC Reference Guide

File Manipulation Methods

File Manipulation Methods

Previous topic Next topic  

File Manipulation Methods

Previous topic Next topic  

Method

Description

LoadFromFile(String Filename)

This method clears all data from the HaulRoute object, and then reads the specified file. This file is in a BINARY format, and is not human readable.

AppendFromFile(String Filename)

This function reads the specified file, and appends the HaulSections described in the file to the HaulRoute. This file is in a BINARY format, and is not human readable.

PrependFromFile(String Filename)

This function reads the specified file, and prepends the HaulSections described in the file to the HaulRoute. This file is in a BINARY format, and is not human readable.

SaveToFile(String Filename)

 This method saves all data to the specified file. The LoadFromFile, AppendFromFile, and PrependFromFile methods above may be used to read the file.

LoadTalpacTextFile(String Filename)

This method clears all data from the HaulRoute object, and then reads the specified file into the HaulRoute object. Talpac8 can generate this file. See Appendix A for a description of how to export this file from Talpac8.

AppendTalpacTextFile(String Filename)

This function reads the specified file, and appends the HaulSections described in the file to the HaulRoute. Talpac8 can generate this file. See Appendix A for a description of how to export this file from Talpac8.

PrependFromTalpacTextFile(String Filename)

This function reads the specified file, and prepends the HaulSections described in the file to the HaulRoute. Talpac8 can generate this file. See Appendix A for a description of how to export this file from Talpac8.