[comp.lang.pascal] Setting file size

C0361@univscvm.csd.scarolina.edu ( Thomas Jenkins) (11/28/90)

Hello,

  Does anyone know the method for setting a file size?  Can it be done
directly? { PS/2 dos 4.01 }  I have TASM and TP 5.5 ( got my upgrade notice
from borland :-)! )

  Thanks for any help,

tom

THOMAS E. JENKINS, JR.                +--------+  FROM SHOE  +--------+
                                      |"IS THE COMPUTER STILL GIVING  |
PROGRAMMER,                           | YOU TROUBLE?..."              |
  UNIVERSITY OF SOUTH CAROLINA        |"NO, NOT ANYMORE..."           |
  C0361 AT UNIVSCVM.BITNET            |"WHAT DID YOU DO?..."          |
  C0361 AT UNIVSCVM.CSD.SCAROLINA.EDU |" I TURNED IT OFF."            |
                                      +-------------------------------+

CDCKAB%EMUVM1.BITNET@cunyvm.cuny.edu ( Karl Brendel) (11/29/90)

In article <9011280920.aa01614@ADM.BRL.MIL>
  C0361@univscvm.csd.scarolina.edu ( Thomas Jenkins ) wrote:

>  Does anyone know the method for setting a file size?  Can it be done
>  directly? { PS/2 dos 4.01 }  I have TASM and TP 5.5 ( got my upgrade

What is it you want to do? Truncate an existing file? Create a 0-byte
file? Extend an existing file without writing to it? Create a new file
of arbitrary size without writing to it?

+-------------------------------------------------------------------------+
| Karl Brendel                                Centers for Disease Control |
| Internet: CDCKAB@EMUVM1.BITNET              Epidemiology Program Office |
| Bitnet: CDCKAB@EMUVM1                       Atlanta, GA, USA            |
| ILink/RIME: KARL BRENDEL                    phone 404/639-2709          |
| CIS  : 73307,3101                           fts       236-2709          |
| GEnie: K.BRENDEL                            Home of Epi Info 5.0        |
+-------------------------------------------------------------------------+