home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
PROTOCOL
/
TPHYD100.ZIP
/
H_FILE.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-08-18
|
2KB
|
53 lines
{$A+,B-,D-,E-,F-,I-,L-,N-,O+,R-,S-,V-}
(******************************************************************************)
(* Hydra Bi-directional Protocol *)
(* ───────────────────────── *)
(* *)
(* Low Level File Handler *)
(* *)
(* BY: Adam Blake Wandoo Valley Software *)
(* Arjen Lentz and Lentz Software *)
(* VER: 1.00 Development *)
(* DATE: 5th August 1993 (c) Copyright 1993 *)
(* LANGUAGE: Turbo Pascal v6.0 All Rights Reserved Worldwide *)
(******************************************************************************)
Unit h_File;
Interface
uses
DOS;
const
RO = 0;
WO = 1;
RW = 2;
DenyAll = 16;
DenyNone = 64;
DenyWrite = 32;
var
FileInfo : SearchRec;
hFile_Check : Function( RxFName : string; RxFSize, RxFTime : longint ) : string;
hFile_Okay : Function( RxPathName : string; RxFTime : longint ) : boolean;
hFile_Bad : Function( RxPathName : string; RxFSize : longint ) : boolean;
Function FileCheck( FileMask : string ) : boolean;
(******************************************************************************)
Implementation
Function FileCheck( FileMask : string ) : boolean;
begin
FindFirst(FileMask,AnyFile,FileInfo);
If DosError <> 0 then FileCheck := false
else FileCheck := true;
end;
(**********************************MAINLINE************************************)
end.