🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5420

Obtaining File Handle from Turbo Pascal

#5420
From: Tom Igielski
Date: Fri, 24 Jan 1986 06:30
10 lines
967 bytes
I am trying to write a routine that can obtain and/or set the date/time
of a file from Turbo Pascal.  The DOS function code for doing this is
Function 87 (hex 57).  The problem is that the call requires the file
handle to be placed in the BX register, and I am unclear as to how to
do that from Turbo.  If anyone could shed some light on this subject, I
sure would appreciate it.

Thanks in Advance

Tom Igielski
Technical Details
Message-ID: <423@mmm.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!mmm!igielski

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site mmm.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!mmm!igielski
From: igielski@mmm.UUCP (Tom Igielski)
Newsgroups: net.micro.pc
Subject: Obtaining File Handle from Turbo Pascal
Message-ID: <423@mmm.UUCP>
Date: Fri, 24-Jan-86 01:30:47 EST
Article-I.D.: mmm.423
Posted: Fri Jan 24 01:30:47 1986
Date-Received: Sat, 25-Jan-86 03:39:53 EST
Distribution: net
Organization: 3M Company, St. Paul, Minn.
Lines: 10