2) I used Document.Text to get content of a file, e.g.:
Code: Select all
if (MainApp.OpenFile("sessions.csv"))
{
sStr = trim(Document.Text);
TRJDocument.Close;
MainApp.DocumentIndex = currentDoc;
}
would be read thru Document.Text, would have length of 13 (without trim it'd be 15), and not 11. Newline format in the file is Unix, but it is read as if it was Windows. Size of a file is 11 bytes. Now, this too may be by designaaa
bbb
zxc
