Proc Reference > PQN Proc Commands > MVA

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

MVA command (Proc) (m618403+mva.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

MVA

Copies a value from the source field to the destination buffer and stores it as a multivalue.

Syntax

MVA destination source

Syntax Elements

destination is a direct or indirect reference to a buffer or select register where you want the data copied to.

source is the data you want to copy. The source can be:

Operation

The new value is stored in ascending ASCII sequence.

If the source data already exists in the destination buffer, it is not duplicated.

If the source itself is multivalued, it is copied, as is, to the destination. This might create duplicate values and destroy the ascending sequence (see Example 2).

If the destination is the input buffer, the buffer pointer is positioned at the beginning of the parameter specified by the destination.

Example 1

Command File Buffer 1 Before File Buffer 1 After
MVA &1.1 &1.3 000 1494
001 DEF]GHI
002 JKL
003 FOR
000 1494
001 DEF]FOR]GHI

002 JKL
003 FOR

Example 2

Command File Buffer 3 Before
and After
File Buffer 1 Before File Buffer 1 After
MVA &1.1 &3.2 000 AAA
001 BBB
002 FX]Y]Z
003 END
000 ABC
001 DEF]GHI
002 JKL
003 MNO
000 ABC
001 DEF]FX]Y]Z]GHI

002 JKL
003 MNO

RealityV15.0Comment on this topic