str fileName = test.txt;
str _outputStr = "Test: san: son: Test001";
TextStreamIo textStreamIo;
textStreamIo = TextStreamIo::constructForWrite();
if (textStreamIo)
{
textStreamIo.write(_outputStr);
textStreamIo.finalize();
File::SendFileToUser(textStreamIo.getStream(), fileName);
}
else
{
warning(strfmt("@SYS65356",fileName));
}
str _outputStr = "Test: san: son: Test001";
TextStreamIo textStreamIo;
textStreamIo = TextStreamIo::constructForWrite();
if (textStreamIo)
{
textStreamIo.write(_outputStr);
textStreamIo.finalize();
File::SendFileToUser(textStreamIo.getStream(), fileName);
}
else
{
warning(strfmt("@SYS65356",fileName));
}
No comments:
Post a Comment