Macro {PROMPT} Not Staying On Screen Long E

DocumentID: 626234
Revision Date: 29-Feb-96 1:41:34 PM

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

Problem

Symptoms: The macro command {PROMPT}message~ doesn't stay on the screen long enough to read. The problem occurs when display is off. This command worked with the 11/06/89 and 01/19/90 release, but not with the 03/30/90 release. The user created a macro with the following commands: {DISPLAY OFF}{PROMPT}This may not work~{PAUSE} Solutions: The program was changed with the 06/29/90 release so that the {PAUSE} command will not update the status line. The "problem" only occurs in the 03/30/90 release. The 03/30/90 release of WordPerfect 5.1 made a change to the way WP treats the display when a macro concludes. This change means that if the last commands in a macro are {PROMPT}message~, the message seems to not display because WordPerfect clears the status line at the conclusion of the macro. The program is displaying the prompt, but it is cleared immediately. On faster machines, you don't get a chance to see the prompt. To work around the problem, you can either position the {PROMPT} off the status line using the ^P positioning commands, use the {INPUT} or {STATUS PROMPT} commands, or delay the conclusion of the macro by using the {WAIT} command. The syntax for cursor positioning would be similar to the following: {PROMPT}{^P}{^A}{^X}This is a prompt message~ The two characters following the Ctrl-P represent the Column and Row. The characters are entered by pressing the Alt key and typing the number of the column and then pressing Alt and typing the row number. In the example above, ^A^X would place the prompt on the first column and the 24th row (bottom left of screen).

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.