Microsoft KB Archive/35847

Macro Ability to Embed Variables in Prompts

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

5.00

MS-DOS

= SUMMARY =

Embedded variables in prompts can be done by inserting the variables in chevrons into the message, pause, set, or ask instruction. The following is an example:

<more text>>

<more text>>

<more text>>

Text strings in the instructions below do not have to be quoted. Variables embedded in the strings have to be surrounded by chevrons, as follows:

<>

<>

< >

< >

Text strings in the instructions below have to be quoted. Everything else is assumed to be a variable, as follows:

< >

<>

<>

<>

<>

<>

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