Top Navigational Bar

Macro Placement Of {ON CANCEL} When Used With
DocumentID: 653312
Revision Date: 29-Feb-96 8:29:22 PM

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

Problem

Solutions: When using the {ON CANCEL}{GO}label~~ commands in a macro, for pressing the Cancel key during a pause state, a separate label will need to be called before the pause sequence. For example,
{ON CANCEL}{GO}end~~
{CALL}start~
{LABEL}start~
name:{PAUSE}
{GO}start~ (or whatever next)
{LABEL}end~
When pressing the Cancel key (F1) at the pause, without calling the label, the macro will immediately quit. By calling the label, when pressing cancel at the prompt, the macro will return to the top and reread the {ON CANCEL}

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.