LearnersPermit
Technical User
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.
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.