Top Navigational Bar

Macro {SYSTEM} Command Returns A1 If Cursor B
DocumentID: 650121
Revision Date: 29-Feb-96 8:28:57 PM

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

Problem

Symptoms: When using the system command to check what cell of a table you are in, the documentation states that if you are not in a table it will return no value. If he puts his cursor just before the table definition code and uses that command he gets a value of A1 returned. I can duplicate it. Solutions: What the documentation says is that the system variable is undefined if not in a table. Hence, the value cannot be guaranteed although it does seem to consistently return A1 if the cursor is before a table. What the user needs to do is first use {SYSTEM}document~ to check if he is in a table. If he is in a table ({SYSTEM}document~&512 is true) then he will know that the value of {SYSTEM}cell~is valid.

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.