PS TEXT FORMAT Reference Manual
Introduction to TFORM
11387 Tandem Computers Incorporated 3–35
FILE CLOSE Option
You use the FILE CLOSE
filename
command to close the named
auxiliary file. You must issue separate FILE CLOSE commands for each
file you have opened. If the file was opened for writing, TFORM writes
an end-of-file mark before closing the file. If the file wasn’t open,
TFORM ignores the command.
This FILE WRITE series writes to a GLOSSARY file
\FILE OPEN GLOSSARY WRITE
\FILE WRITE GLOSSARY "Edit-type File"
\FILE WRITE GLOSSARY "Error Message"
\FILE WRITE GLOSSARY "Record"
\FILE WRITE GLOSSARY "Variable"
\FILE CLOSE GLOSSARY
This subsequent FILE READ series assigns string values from GLOSSARY
to the variables in the second command line
\FILE OPEN GLOSSARY READ
\FILE READ GLOSSARY a, b, c, d
\FILE CLOSE GLOSSARY