| COMMON | Index Level | conv.expression |
| Syntax | COMPARE string.exp1 TO string.exp2 {PRESENT var1} {MISSING var2} |
| Category | BASIC |
| Type | Statement |
| 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. |
| Options | |
| See Also | $OPTIONS |
| Example | |
| Warnings | To compile this statement, it is necessary to use a non-default "$options" setting. |
| Compatibility | R91 D3 7.0 |
| COMMON | Index Level | conv.expression |