Contents/Control Methods/Import and ExportThis chapter includes the data import and export functions. In this chaptergetData — Retrieve document dataGetTerBuffer — Retrieve document dataReadTerFile — Load a file into the editor windowSaveTerFile — Save the editor text to disksetData — Set document textSetTerBuffer — Set document textTerDocName — Set or retrieve the current document name.TerFileToMem — A utility function to read a file into a character array.TerGetReadOnly — Retrieve the current Read Only status.TerIsModified — Check if the editor data needs saving.TerSetModify — Set or reset the modification flag.TerSetOutputFormat — Set the format of the output data.TerSetReadOnly — Set Read Only status.TerQueryExit — Check if it is OK to close a TE window.