Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, 言語解説書

接頭演算子と配列

配列に接頭演算子演算を行うと、同じ境界を持つ配列になります。 この配列の各エレメントは、もとの配列の各エレメントに行われた演算の結果です。 以下に例を示します。

  If A is the array      5   3  -9
                         1   2   7
                         6   3  -4
 
  then -A is the array  -5  -3   9
                        -1  -2  -7
                        -6  -3   4

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)