![]() |
Macro Example: Checking For Cancel From GETST |
The information in this document applies to:
WordPerfect® 6.0 for DOS
Problem
Solutions: This macro will check for a cancel from a GETSTRING command whether the variable is defined or not. GETSTRING(test;"Enter text") IF(NOT EXISTS(test)) Type("User cancelled.") ELSE IF(strlen(test)<1) Type("User cancelled.") ENDIF ENDIF |
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. |