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

TYPE 疑似変数

TYPE 疑似変数は、タイプ付き構造体または共用体をハンドル x によって位置付けられたストレージに割り当てます。

構文図を読む構文図をスキップする>>-TYPE(x)-----------------------------------------------------><
 
x
ハンドル

定義済み構造体 T が与えられると、次の割り当てが有効です。

  dcl P1 handle T;
  dcl P2 handle T;
  dcl D1 type T;
  dcl D2 type T;

  D1 = type(P2);          /* Assigns the storage located by P2 to D1 */
  type(P1) = type(P2);
  type(P1) = D2;          /* Assigns D2 to the storage located by P1 */

Terms of use | Feedback

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