|
|
1.1 ! root 1: .TI F77/TAPES "Sep. 4, 1985" ! 2: Using magnetic tapes with f77 programs ! 3: ! 4: Fortran logical units may be used for disk files, but not generally ! 5: for reading and writing magnetic tapes. ! 6: For magnetic tapes, use the special routines described in "man 3f topen". ! 7: A sample program to read an unblocked tape is in "help f77 tp_ex1.f", ! 8: a sample to read a blocked tape is in "help f77 tp_ex2.f". ! 9: They are set up to get the device name from the environment variable 'tape1'. ! 10: ! 11: To save the help file in a file of your own, use the help '>' command, ! 12: i.e. at the help prompt, type: ! 13: ! 14: tp_ex1.f > myfile.f ! 15: ! 16: If you need to rerun the program, to rewind the tape, either use ! 17: the trewin() function (see "man 3f topen") or use: ! 18: ! 19: mt -t $tape1 rew ! 20: ! 21: or use the UNIX "rewind" command.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.