basic.compare Statement/BASIC Program

basic.compare

Command basic.compare Statement/BASIC Program
Applicable release versions: R91, AP 6.2
Category BASIC Program (486)
Description compares two dynamic arrays.

The "compare" statement scans through each element in string.exp1 to see if that element also exists in string.exp2. At completion, var1 contains a list of elements which exist in string.exp1 and in string.exp2. At completion, var2 contains a list of elements which exist in string.exp1 but do not exist in string.exp2.
Syntax compare string.exp1 to string.exp2 {present var1} {missing var2}
Options
Example
Purpose
Related basic.$options