KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q59256: Incorrect Version Numbers Cause Tagged Sections to Be Ignored

Article: Q59256
Product(s): See article
Version(s): 1.00 1.02 | 1.00 1.02
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | pwb | mspl13_basic
Last Modified: 25-MAY-1990

With the Microsoft Editor (M) or the Programmers WorkBench (PWB), it
is possible to include information in your TOOLS.INI file that is
specific to the operating system you are using. For information on how
to create sections with tags, see the "Microsoft Editor User's Guide,"
Section 7.5.1. However, you must be sure to include a trailing 0
(zero) on the label for OS/2 versions 1.10 or 1.20. Failure to do so
causes these sections to be ignored by the Editor.

The following headers cause the tagged sections to be ignored when
running under OS/2 version 1.10:

   [M-10.0 M-10.1]
   fgcolor:0B
   hgcolor:30
   stacolor:0E

   [M-3.30 M-10.0R M-10.1R]
   fgcolor:0E
   hgcolor:E0
   stacolor:0B

The tags must be rewritten as follows:

   [M-10.0 M-10.10]
   fgcolor:0B
   hgcolor:30
   stacolor:0E

   [M-3.30 M-10.0R M-10.10R]
   fgcolor:0E
   hgcolor:E0
   stacolor:0B

Furthermore, the tagged sections must not be placed in the middle of
an [M] or [M MEP] tagged section. They must be placed before or after
the [M] or [M MEP] sections. Failure to do this causes information
located below these sections to be ignored in the DOS compatibility
box.

Note: For the PWB, the above examples would change to PWB-xxxx instead
of M-xxx.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.