What is the difference between CommaIO and Comma7IO classes?

The help file is missing documentation for the class Comma7IO, as it extends the class CommaIO.

What is the difference?

+3
source share
2 answers

Supporting reading and writing of various formats of external files, MorphX has a number of different Io classes; CommaIo for comma-separated files, Comma7Io for comma-separated 7 bit files , BinaryIo for binary files, and AsciiIo for text files.

With this link: RE: [Axapta-Knowledge-Village] Somthing cool - IO

+2
source

Run this task

static void TestComma7Io(Args _args)
{
    str                 testString  = 'ABCDEFG~Γ€ΓΓ‚ΓƒΓ„Γ…Γ†Γ‡ΓˆΓ‰ΓŠΓ‹~HIJKLMNOP';
    str                 filename    = @"C:\TMP\test1.txt";
    str                 mode        = 'W';
    Io                  io;
    container           con;
    FileIoPermission    perm;
    ;

    perm = new FileIoPermission(filename, mode);

    if (!perm)
        return;

    perm.assert();

    // BP deviation documented.
    io = new Comma7Io(filename, mode);

    if (io)
        io.write(testString);

    CodeAccessPermission::revertAssert();
}

: "ABCDEFG ~\300\301\302\303\304\305\306\307\310\311\312\313 ~ HIJKLMNOP". , 8- .

io = new Comma7Io(filename, mode); io = new CommaIo(filename, mode);, : "ABCDEFG ~ ΓΓΓ‚Γ…Γ†Γ‡ΓˆΓ‰ΓŠΓ‹ ~ HIJKLMNOP".

+1

All Articles