nl/[0,1]
nl
nl(
+Stream)
Terminates the current output record on the current output stream or on Stream. See fli-ios-sst-fmt.
Wraps the current output record (line) and writes out the record. How the record is wrapped up depends on the format of the output stream.
nl/[0,1]
will output a <LFD>
(ASCII code 10). Windows translates this to the sequence
<RET><LFD> (ASCII codes 13, 10).
Stream errors (see ref-iou-sfh-est), plus:
existence_error
permission_error
How the wrapped record is written depends upon the bottom layer write
function associated with the output stream.
The default tty stream displays the wrapped output record to the
terminal immediately for each nl/[0,1]
operation, while the
default text stream under UNIX and Windows does not send the wrapped record
(line) to the disk unless the buffer for the output stream is full.
put/[1,2]
flush_output/1
.