Microsoft KB Archive/35837: Difference between revisions
m (Text replacement - "<" to "<") |
m (Text replacement - ">" to ">") |
||
Line 11: | Line 11: | ||
The reserved variable “echo” will be added. The value of echo can be changed using the set statement. The two echo states are as follows: | The reserved variable “echo” will be added. The value of echo can be changed using the set statement. The two echo states are as follows: | ||
<<set echo="on"> | <<set echo="on">> updates the screen as the macro executes. This will be the default. | ||
<<set echo="off"> | <<set echo="off">> suppresses screen update. | ||
You can query on echo to determine the current echo state. The following is an example: | You can query on echo to determine the current echo state. The following is an example: | ||
<<if echo="on"> | <<if echo="on">>… | ||
If echo is set to an invalid value (text), the macro will abort with the message “invalid value for reserved variable, macro aborted.” | If echo is set to an invalid value (text), the macro will abort with the message “invalid value for reserved variable, macro aborted.” | ||
KBCategory: kbother kbmacro KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994. | KBCategory: kbother kbmacro KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994. |
Revision as of 10:28, 21 July 2020
Macro Ability to Turn Screen Update On and Off
PSS ID Number: Q35837 Article last modified on 11-02-1994
5.00
MS-DOS
SUMMARY
The reserved variable “echo” will be added. The value of echo can be changed using the set statement. The two echo states are as follows:
<<set echo="on">> updates the screen as the macro executes. This will be the default.
<<set echo="off">> suppresses screen update.
You can query on echo to determine the current echo state. The following is an example:
<<if echo="on">>…
If echo is set to an invalid value (text), the macro will abort with the message “invalid value for reserved variable, macro aborted.”
KBCategory: kbother kbmacro KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.