Programmer's WorkBench (pwb.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.
File-Extension Tags in TOOLS.INI
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     You can create a TOOLS.INI tagged section that contains statements
     specific to a filename extension. When you load a new file or
     switch to a different file, PWB searches TOOLS.INI for a tag that
     matches the new file's extension. If it finds a tag that matches,
     PWB loads the section that follows it.
 
     Syntax
 
     [PWB-.ext]
 
     <ext>    Filename extension of up to three characters.
 
     Some files, such as pseudofiles, have no extension. The tag for
     these files is written:
 
          [PWB-.]
 
     Default
 
     When you open or switch to a file, and a tag that matches the
     file's extension is not found, PWB retains the existing
     configuration unless there is a default file-extension tag in
     TOOLS.INI.
 
     The default file-extension tag uses a period for the extension as
     follows:
 
          [PWB-..]
 
     PWB initializes this section when you switch to a file whose
     extension does not match any other file-extension tag.
 
     Example
 
     The tag:
 
          [PWB-.C PWB-.H PWB-.CXX PWB.HXX]
 
     defines a tagged section of TOOLS.INI with statements for C and
     C++ source-language files (files with the extension .C, .H, .CXX,
     or .HXX).
 
     See
 
     Manually Loaded Tags
     Operating-System Tagged Sections of TOOLS.INI
     PWB Extension Tags in TOOLS.INI
     PWB Loading Sequence
                                    -♦-