Method PutLine(pFilename As %String, pLine As %String) As %Status
Writes a string to the file and appends to the string the characters specified in the LineTerminator property. By default, the LineTerminator is a carriage return followed by a line feed (ASCII 13, ASCII 10).
If your operating system requires a different value for the LineTerminator property, set the value in the OnInit() method of the business operation. For example:
Method OnInit() As %Status
{
Set ..Adapter.LineTerminator="$C(10)"
Quit $$$OK
}
You can also make the property value to be dependent on the operating system:
Set ..Adapter.LineTerminator="$Select($$$isUNIX:$C(10),1:$C(13,10))"