Category : Modula II Source Code
Archive   : FLXCPY10.ZIP
Filename : COPYFILE.DEF

 
Output of file : COPYFILE.DEF contained in archive : FLXCPY10.ZIP
DEFINITION MODULE CopyFiles;
(* Routines to copy and move files. *)

FROM DirInfo IMPORT DirEntry;
TYPE
SourceString = ARRAY [0..64] OF CHAR;
UpdateControl = (freshen, update, all);
CopyControl = (copy, move); (* Copy files,
Move files *)

VAR
Condition : UpdateControl; (* controls data/existence update criterion *)
Verbose : BOOLEAN; (* controls printing of copy reports,
defaults to TRUE, altered in main program *)
Prompt : BOOLEAN; (* controls (Y/N) prompt for each file,
defaults to FALSE, altered in main program *)
CopyStatus : CopyControl; (* selector var for copy/move *)
PartialCopy : BOOLEAN; (* set TRUE if any file not copied/moved
due to target drive nearly full. *)

(* Copy a file from the specified source to the specified destination *)
PROCEDURE CopyAFile(From, To : SourceString; Info : DirEntry) : BOOLEAN;

(* Move a file from the specified source to the specified destination *)
PROCEDURE MoveAFile(From, To : SourceString; Info : DirEntry) : BOOLEAN;

END CopyFiles.


  3 Responses to “Category : Modula II Source Code
Archive   : FLXCPY10.ZIP
Filename : COPYFILE.DEF

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/