fileWriteLine

Writes a line of text to a file with a newline. Takes a file handle and a string. Returns nothing (void).

File IO

Parameters & Returns

Parameters

fileHandle Int
str String

Returns

Void

Quick Summary

Writes a line of text to a file with a newline. Takes a file handle and a string. Returns nothing (void).

Technical Exegesis...

Writes the string to the file followed by a newline character ('\\n'). Does nothing if the handle or string is invalid.

Uses fputs to write the string and newline separately. Suitable for creating text files. For cross-platform compatibility, writes Unix-style line endings (LF only).

Example

Example.bam
; No example implemented yet