home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!bepcp!jnicholson
- From: jnicholson@bowker.com (Jim Nicholson)
- Newsgroups: comp.lang.pascal
- Subject: Re: bk asks: File Handle in TP
- Keywords: interrupts, file handle, FileRec.handle
- Message-ID: <7TJRqB1w164w@bowker.com>
- Date: Mon, 07 Sep 92 23:35:41 EDT
- References: <1992Sep7.021438.9222@murdoch.acc.Virginia.EDU>
- Organization: Bowker Electronic Publishing, New Providence NJ
- Lines: 22
-
- bk@Turing.ORG (Brian Knatz) writes:
-
- >
- > Question:
- > If I have a FILE, f, and a FileRec, fr, how do I get them to
- > refer to the same file?
- > How, given an assigned-and-reset f do I take a look at the its Handle?
-
- FileRec is generally used in a typecast; for example
-
- var
- F : File;
- ...
-
- With FileRec(F) do
- {Something with F's handle}
-
-
-
- Jim Nicholson Internet: jnicholson@bowker.com
- Any opinions expressed are not FidoNet : 1:2605/705.0
- necessarily my own Voice : 908-665-2864
-