Trailing-Edge
-
PDP-10 Archives
-
decuslib20-03
-
decus/20-0078/util/filed.sim
There is 1 other file named filed.sim in the archive. Click here to see a list.
00040 COMMENT INPUTTING AND OUTPUTTING DEC 10 TEXT FILES: (May 1977)
00080 --------------------------------------------------
00120
00160 By Jacob Palme, Swedish National Defense Research Institute,
00200 S-104 50 Stockholm 80, Sweden.
00240
00280 This program contains a class FILED (which can be separately
00320 compiled) to input and output DEC 10 ASCII-7-formatted text
00360 files in SIMULA. The program can handle both unnumbered and
00400 line numbered text files. For numbered files, the program will
00440 ensure that the output file has the format on line numbers
00480 required by other DEC 10 text handling programs like for
00520 example SOS. Lines lacking line numbers will be given such
00560 numbers.
00600
00640 The good facilities for text handling in SIMULA makes it a
00680 useful language for text handling programs like editors,
00720 programming language translators, compilers, pre-compilers etc.
00760
00800 However, the reading and writing of text files on the DEC 10,
00840 especially line numbered files, is rather tricky in SIMULA. By
00880 using this program, you avoid those problems.
00920
00930 The program also contains facilities to protect you
00933 from inputting and outputting the same file and for over-
00936 writing the output file. If the output file already
00939 exists, the existing file is renamed to a backup name
00942 with an extension beginning with the letter Q.
00957
00960 end of comment;