4D v19file.setText( ) |
||||||||||||||||||||||||||
|
4D v19
file.setText( )
|
Constant | Type | Value | Comment |
Document unchanged | Longint | 0 | No processing |
Document with native format | Longint | 1 | (Default) Line breaks are converted to the native format of the operating system: CR (carriage return) under OS X, CRLF (carriage return + line feed) under Windows |
Document with CRLF | Longint | 2 | Line breaks are converted to Windows format: CRLF (carriage return + line feed) |
Document with CR | Longint | 3 | Line breaks are converted to OS X format: CR (carriage return) |
Document with LF | Longint | 4 | Line breaks are converted to Unix format: LF (line feed) |
By default, when you omit the breakMode parameter, line breaks are processed in native mode (1).
$myFile:=File("C:\\Documents\\Hello.txt";fk platform path)
$myFile.setText("Hello world")
Product: 4D
Theme: File and Folder
4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)