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

 
Output of file : SUBDIRS.DEF contained in archive : FLXCPY10.ZIP
DEFINITION MODULE SubDirS; (* SubDirectory Support *)

(* Routines to support convenient manipulation of MS-DOS SubDirectories,
and associated aspects of Path and File names. *)

(* Save the current directory on a stack. *)
PROCEDURE PushDir() : BOOLEAN;

(* Restore the directory on the top of the stack. *)
PROCEDURE PopDir() : BOOLEAN;

(* Accept filespec or path spec as argument, convert to fully qualified
file/path name (starting at drive and root dir). Return TRUE if
successful, false otherwise. *)
PROCEDURE FullyQualify(VAR Spec : ARRAY OF CHAR) : BOOLEAN;

(* Test a path/file specification to see if it is a subdirectory. Is so,
return TRUE, else return FALSE. *)
PROCEDURE IsSubdir(spec : ARRAY OF CHAR) : BOOLEAN;

END SubDirS.


  3 Responses to “Category : Modula II Source Code
Archive   : FLXCPY10.ZIP
Filename : SUBDIRS.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/