Top Navigational Bar

{MID} Count Is Different On Macro And Merge
DocumentID: 650496
Revision Date: 29-Feb-96 8:28:59 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Symptoms: When using the {MID} command in a macro and the offset is set to 1
the count begins at the second character. So that the output
for the following macro would be BC. If the same commands are used in merge you would receive an output of AB. Why is there
a difference?

MACRO

{ASSIGN}1~abc{Left}{Right}~
{ASSIGN}2~{MID}1~1~2~{Left}{Right}~
{VAR 2}

MERGE

{ASSIGN}1~abc~{ASSIGN}2~{MID}
{VARIABLE}1~~1~2~~{VARIABLE}2~ Solutions: This has been fixed in the next release (following 01/19/90).

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.