Microsoft KB Archive/47936: Difference between revisions
m (Text replacement - "<" to "<") |
m (X010 moved page Microsoft KB Archive/Q47936 to Microsoft KB Archive/47936 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/") |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
For example, Word 4.00 will execute the following macro: | For example, Word 4.00 will execute the following macro: | ||
<<repeat 10 | <<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. | 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. |
Latest revision as of 19:24, 12 August 2020
Word 5.00 Checks for Errors in Macro Structure
PSS ID Number: Q47936 Article last modified on 11-02-1994
5.00
MS-DOS
SUMMARY
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:
ENDREPEAT without REPEAT…
KBCategory: kbother kberrmsg kbmacro KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.