home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
pascal
/
swag
/
network.swg
/
0005_ISFILOPN.PAS.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-05-28
|
273 b
|
16 lines
Var
Fi : File;
Function ISOpen(Var Fil:File):Boolean;
(* Returns True is File has is open ON A NETWORK!!! *)
Var
P:^Byte;
begin
P:=@Fil;
If P^=0 then IsOpen:=False else IsOpen:=True;
end;
begin
Assign(Fi,'FileOPEN.PAS');
Writeln(ISOpen(Fi));
end.