Io.writeExp Method [AX 2012]
Writes the content of a container to the file.
static void testMethod(Args _args)
{
FileIOPermission _perm;
container c;
CommaIo myfile;
_perm = new FileIOPermission("myfile.txt","w");
_perm.assert();
myfile = new CommaIo("myfile.txt","w");
// Assign the entries in the container according to record layout.
c = [1,"MyText",1.324,"Last field"];
// write this record according to file format (record/field delimiters).
myfile.writeExp(c);
}
Community Additions
ADD
Show: