Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WP Macro + RightArray

Status
Not open for further replies.

LearnersPermit

Technical User
May 30, 2001
70
CA
I'm trying to track down the replacement for the command RightArray. I have been trying to change a legacy macro - it has previously been a WP8 macro (perhaps earlier) which has been converted successfully to WP9 and I am now trying to convert it to WP10. Whenever I recompile this macro, it recompiles without error. When I try to play the macro I get an error message regarding RightArray.

The code below is part of a larger macro which creates library labels using information from an ANSI file which is opened in WP prior to the macro being played. The labels are 3 across and 7 down and I believe that the array command fills the second and third rows of labels. Any advice on what replaces the array command would be welcome. The macro does work in WP9 but not in WP10.


> Here is a portion of the code referred to. Do you have any suggestions for me?
>
> // Create New Document and Paste Arrays
> Label( Final )
> Application (WordPerfect; "WordPerfect"; Default!; "EN")
> FileNew ()
> FontSize( 133 ) // 8-Point Font Size
> PosDocTop()
>
> For( zz; 1; zz < RecordCount+1; zz+1)
> Type( RightArray[zz] )
> HardPageBreak()
> PosPageTop()
> Type( LeftArray[zz] )
> HardPageBreak()
> PosPageTop() EndFor
>
> Thank you for any help.
 
Resolution of this problem is as follows:

Open WP10
Click on Tools > Settings > Environment
Click on the box beside &quot;Use WP9 Text Selection&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top