PWB Extensions Help (ext.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Handling Files
                                             Up Contents Index Back
─────PWB Extensions─────────────────────────────────────────────────────────
 
     Function                Description
 
     AddFile               Open a file
     DelFile               Clear a file buffer
     DoSpawn               Execute a program or DOS command
     fChangeFile           Change drive or directory or switch to a file
     FileLength            Get length of file in lines
     FileNameToHandle      Get handle for file based on filename
     FileRead              Read a file and initialize file buffer
     FileWrite             Write a file to disk
     ForFile               Call function for wildcard file list
     fSetWindowWithFile    Open a file in a window
     GetEditorObject       Get general PWB information
     GetPfileFromName      Open a file by name
     LockFile              Increment the lock count for a file
     mgetenv               Get an environment variable
     pFileToBottom         Move file to end of instance list
     pFileToTop            Move file to start of instance list
     RemoveFile            Clear a file from memory
     SelectFile            Prompt for a file
     SelectFiles           Prompt for a list of files
     SetEditorObject       Put general PWB information
     UnLockFile            Decrement the lock count for a file
                                    -♦-