Q45837: QB 4.50 Help Incorrectly Displays Context Strings As Titles
Article: Q45837 Product(s): See article Version(s): 4.50 Operating System(s): MS-DOS Keyword(s): ENDUSER | S_QuickC S_QuickPas | mspl13_basic Last Modified: 19-JUN-1989 When using the HELPMAKE utility to create new help screens for QuickBASIC Version 4.50, you must use the ":n" command to force the help screen titles to display correctly. If the context string is used as the title, the first character of the title will not be printed. There are two methods for specifying a help screen title for customized help screens. Both are valid and work correctly in Quick Pascal 1.00 and later and QuickC 2.00 and later. However, QuickBASIC 4.50's help system is slightly older and does not correctly display titles that result from the first method. The two methods are as follows: 1. Method 1: Using the context string as a title .context MyHelpContext :l13 This method results in a help screen that is 13 lines long, with a title that reads as follows: HELP: MyHelpContext QuickBASIC incorrectly displays the following: HELP: yHelpContext 2. Method 2: Using the ":n" Command to specify a separate title .context MyFirstHelpContext .context MySecondHelpContext .context MyThirdHelpContext :l13 :n MyHelpContext This method displays the "HELP: MyHelpContext" screen whenever the user requests information regarding any of the three help contexts listed just above the ":l" command. This is always displayed correctly by QuickBASIC (decoding QB45QCK.HLP shows that this is the method that the original programmers always used for QuickBASIC). There is no way to work around this problem, other than to use the ":n" command to specify the title. The actual search mechanism interprets the line correctly (as a context), so it is not possible to alter the context string (by padding an extra character, for example) and still have the help file work properly.
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.