Microsoft KB Archive/47936

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Word 5.00 Checks for Errors in Macro Structure

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




Word Version 5.00 does not execute some macros that Word Version 4.00 executes.

For example, Word 4.00 will execute the following macro:

<<repeat 10>>sample text<<if x=0>><<endrepeat>><<endif>> more sample text<<endrepeat>>

The above macro is structurally incorrect because of the extra ENDREPEAT statement without a corresponding REPEAT statement. Word 4.00 runs this macro without any error messages. However, because the macro contains a structural error, it may not perform correctly.

When Word 5.00 runs the macro, it gives the following error message:


KBCategory: kbother kberrmsg kbmacro KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.