The first form of the syntax for the DATAVEC: command is used mainly to construct data from other data. The definition part (the right hand side of the ``='' sign) must include at least one data-carrier. The collection of data-carriers in the definition part is then reviewed and the cases for which there are observations on every member of the collection are selected. The definition part is then evaluated for each such case, and this becomes the ``observation'' for this case for the new data-carrier. As an example, suppose that X, Y, and Z are data-carriers with observations defined as in Table 8.2, and suppose that we construct a new data-carrier as in the following fragment of code:
Only cases 2 and 3 exist for all three data-carriers in the definition part, and so observations will be constructed for these two cases only; the other cases remaining undefined. On the other hand, the issuing of the following command:
would result in an error as the definition part contains no data-carriers.