if $isobject(content) {
do content.Rewind()
while 'content.AtEnd { set ^ck($i(i)) = content.ReadLine() }
do content.OutputToDevice()
do content.Rewind()
do content.MoveTo(content.Size -3)
do content.ReadLine(,,isEOL)
}
^ck(1)="" <-- This is because write !, "First line"
^ck(2)="Port (OnAfterSave): First lineSecond line" <-- Though First line is actually pushed down and merged with "Second line"
^ck(3)="Port (OnAfterSave): Third line" <-- Third works fine, because second finishes with !
^ck(4)="Port (OnAfterSave): " <-- write "Third line", ! creates a blank line though my prefix is displaying.
I'm starting to think there's no way to prevent all situations.
- Log in to post comments
