Writes to a text file.
Writeln is an extension of the Write procedure, as it is defined for text files.
The syntax shown here for the Writeln procedure is illustrates that WriteLn can take a variable number of arguments.
After executing Write, Writeln writes an end-of-line marker (line feed or carriage return/line feed) to the file.
If F is omitted, the global variable Output is used to access the processed standard input file.
Optional
optional output file, otherwise uses standard output
Rest
any number of arguments to write
Writes to a text file.
Writeln is an extension of the Write procedure, as it is defined for text files.
The syntax shown here for the Writeln procedure is illustrates that WriteLn can take a variable number of arguments.
After executing Write, Writeln writes an end-of-line marker (line feed or carriage return/line feed) to the file.
If F is omitted, the global variable Output is used to access the processed standard input file.