Microsoft KB Archive/47832: Difference between revisions

From BetaArchive Wiki
m (Text replacement - "<" to "<")
m (Text replacement - ">" to ">")
Line 13: Line 13:
This problem seems to be an error in Word version 5.0’s search algorithm for negative values. To duplicate this problem, execute the following macro:
This problem seems to be an error in Word version 5.0’s search algorithm for negative values. To duplicate this problem, execute the following macro:


<esc>fp<down><right><<set level=field>&gt; <<message field is>&gt;<<level>&gt;
<esc>fp<down><right><<set level=field>> <<message field is>><<level>>


Run the macro with a positive number in the Format Paragraph “first line:” field. When you run it with a negative number, you’ll see that Word does not recognize the negative value.
Run the macro with a positive number in the Format Paragraph “first line:” field. When you run it with a negative number, you’ll see that Word does not recognize the negative value.

Revision as of 10:28, 21 July 2020

Can’t Search for a Negative Field Value in a Word 5.00 Macro

PSS ID Number: Q47832 Article last modified on 11-02-1994

5.00

MS-DOS

SUMMARY

With Microsoft Word for MS-DOS version 5.0, if a negative number is placed in any of the command fields that allow negative numbers (for example, the Format Paragraph “first Line:” field or the Format Division Margins “top:” field), Word cannot search for the number in a macro.

This problem seems to be an error in Word version 5.0’s search algorithm for negative values. To duplicate this problem, execute the following macro:

<esc>fp<down><right><<set level=field>> <<message field is>><<level>>

Run the macro with a positive number in the Format Paragraph “first line:” field. When you run it with a negative number, you’ll see that Word does not recognize the negative value.

Microsoft has confirmed this to be a problem in Word version 5.0. This problem was corrected in Word version 5.5.

KBCategory: kbother kbmacro KBSubcategory: Additional reference words: 5.00 5.50

============================================================================= Copyright Microsoft Corporation 1994.