useful text i/o features with turbo pascal:
1. large text buffers for speedier handling when needed
2. complete seek function for text files
3. write formatted output to a string variable
4. read contents of a string variable as formatted input
5. backup to the previous line of a file (if possible)
language: turbo pascal macintosh "(*MAC- -MAC*)" comments
or: turbo pascal 4.0 ibm. "(*IBM- -IBM*)" comments
by d.g.gilbert
dogStar software
po box 302, bloomington, in 47402
compuserve 71450,1570
Translated to a unit by Mike Babulic, (Jan.25,1989)
3827 Charleswood Dr. N.W.
Calgary, Alberta, CANADA
T2L 2C7
compuserve: 72307,314
NOTE: 1) This unit has been created and tested on MS/DOS only.
----- Porting to the Macintosh will involve some modification,
especially for new additions like "BackLn".
2) Obviously if you do "interesting" things in your programs
you can expect some side-effects the authors couldn't
possibly forsee. Be careful!
MODIFICATION LOG
----------------
88/01/25 - Turned demo program into a unit. (Babulic)
88/01/27 - BackLn procedure added. (Babulic)
|