Microsoft KB Archive/47936: Difference between revisions
m (Text replacement - "<" to "<") |
m (Text replacement - ">" to ">") |
||
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. |
Revision as of 10:28, 21 July 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.