[comp.sys.mac.programmer] How to truncate file from THINK Pascal?

bmyers@garnet.berkeley.edu (Brian Myers) (06/26/91)

I'm trying to delete records from a structured file without having to
copy all the undeleted records to a separate file.  To shorten I file,
I suppose I need the SetEof toolbox routine (or is it a trap? that command,
anyway.)  But SetEof expects a "file reference number."  I assume that
number is stored somewhere in my Pascal file variable, probably in some
kind of record structure, but I can't find that structure documented.   
Can someone either tell me how to do truncate files, or where to find
docs for the contents of a file variable?  Thanks.

Brian Myers
bmyers@garnet.ucb.edu
-- 
---------------------------------------------------------------------------
Brian Myers					 bmyers@garnet.berkeley.edu