Top Navigational Bar

Macro - Incorrect Commands Causing "File Not
DocumentID: 652193
Revision Date: 29-Feb-96 8:29:14 PM

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

Problem

Solutions: Page 80 of the January 1991 issue of WordPerfect, The Magazine contains a macro that retrieves graphics along with the filenames. The article is entitled "Seeing is Believing." This article includes a couple incorrect commands for the macro. Because of these incorrect commands, users may receive errors, two of which are "File Not Found" and "Error Too Much Text" when executing the macro.

Deleting the number 1 at the end of line 6 and adding an {IF} statement between line 6 and line 7 will eliminate the errors. Given below are the first nine lines of the macro. The macro appears as it would after making the changes.

1 {DISPLAY OFF}
2 {IF}{SYSTEM}shellver~<768~
3 {PROMPT}Shell version 3.0 or higher not loaded.~
4 {WAIT}30~{QUIT}
5 {END IF}
6 {Style}7g-list.sty{Enter}
7 {IF}{STATE}&1024~
8 Y{END IF}
9 Ng-list{Enter}1

Also, If you are using long document names, line 24 needs to be changed to the following:
{Save}{Enter}{Enter}Graph.lst{Enter}

In addition, if you have long display turned on in List Files, the macro will not work because the graphics files do not display in List Files when long display is on.

Note: Customers may not realize that when executing this macro, the graphics do display on the 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.