The writeln procedure writes a line into a text file.
writeln(true); (* writes ' true' *)
writeln(true:2); (* writes 'tr' *)
writeln(3567); (* writes ' 3567' *)
writeln(3567:1); (* writes '3567' *)
writeln(1.2345678); (* writes ' 1.23E+00' *)
writeln(1.2345678:8); (* writes ' 1.2E+00' *)
writeln(1.2345678:8:3); (* writes ' 1.235' *)
Operating Systems: All
Standard Pascal: Yes