Export (0) Print
Expand All

AsciiIo Class

Provides functionality for reading and writing ASCII files.

NoteNote

In most cases, you should use the TextIo Class for reading and writing files. For more information, see the Remarks section.


NoteNote

At the time of publication, portions of the topic were intentionally left blank.



class AsciiIo extends CommaIo

Called

Method

Description

finalize

Closes the file and flushes the file buffers to disk. An AsciiIo object is normally finalized after its scope has ended. This method is not usually called directly.

inFieldDelimiter

Sets or retrieves the character used for the field delimiter of an input file represented by an AsciiIo object.

inRecordDelimiter

Sets or retrieves the character used for the record delimiter of an input file represented by an AsciiIo object.

inRecordLength

Sets or retrieves the record length for an input file.

new

Creates an instance of the AsciiIo class.

outFieldDelimiter

Sets or retrieves the character used for the field delimiter of an output file represented by an AsciiIo object.

outRecordDelimiter

Sets or retrieves the character used for the record delimiter of an output file represented by an AsciiIo object.

read

Reads a complete record from the file.

status

write

writeChar

writeExp

writeRaw

The TextIo Class provides functionality for reading and writing files that use a variety of code pages. AsciiIO supports only ANSI code page (ACP) characters.

Existing code that uses AsciiIO must be converted to use TextIO if the file contains non-ACP characters or if it is a file that is only used within Microsoft Dynamics AX (such as an .xpo file).

Community Additions

ADD
Show:
© 2014 Microsoft