WriteLine
Use to write a line in a file, previously open with function OpenFileForWriting.
🔁 Function
void WriteLine(
handle: Integer,
text: String,
flush: Boolean);
⚙️ Parameters
Name | Type | Description |
---|---|---|
handle |
Integer | Handle to the file, value returned by function OpenFileForWriting. |
text |
String | Text to write |
flush |
Boolean | Flush file after writing the line. Default = false (for compatibility) |
↩️ Return Value
None
📝 Example
var handle = OpenFileForWriting("C:\\Data\\ChutesMap.csv");
// Boolean type: Flush file after writing the line. Default = false (for compatibility)
WriteLine(handle,"ABS01",true);
// ...
CloseFile(handle);