160. Slash / terminates a record.#

topic: Input and Output

Note

This tip is a draft1.

A / in a format creates a new record, so

print “(‘c’/’d’)”

prints ‘c’ and ‘d’ on successive lines, as does

print “(a)”,”c” // new_line(“”) // “d”

A list-directed READ is terminated by a / in input and may surprise for a file with / characters.



1

From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.