4D v19file.setText |
||||||||||||||||||||||||||
|
4D v19
file.setText
|
Konstante | Typ | Wert | Kommentar |
Document unchanged | Lange Ganzzahl | 0 | Keine Bearbeitung |
Document with native format | Lange Ganzzahl | 1 | (Standard) Zeilenumbrüche werden in das native Format des Betriebssystems konvertiert: CR (carriage return auf Mac OS), CRLF (carriage return + line feed unter Windows) |
Document with CRLF | Lange Ganzzahl | 2 | Zeilenumbrüche werden in das Windows Format konvertiert: CRLF (carriage return + line feed) |
Document with CR | Lange Ganzzahl | 3 | Zeilenumbrüche werden in das Mac OS Format konvertiert: CR (carriage return) |
Document with LF | Lange Ganzzahl | 4 | Zeilenumbrüche werden in das Unix Format konvertiert: LF (line feed) |
Standardmäßig, also ohne den Parameter breakMode, werden Zeilenenden im native Modus (1) bearbeitet.
$myFile:=File("C:\\Documents\\Hello.txt";fk platform path)
$myFile.setText("Hello world")
Produkt: 4D
Thema: File und Folder
4D Programmiersprache ( 4D v19)
4D Programmiersprache ( 4D v19.1)