Rocket® Enterprise Developer (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
DECLARE - 複数形式
目的
複数の名前とその個々の属性を定義します。
構文
DECLARE identifier[attribute…][,identifier[attribute…]]…;
例
DECLARE COUNTER FIXED BINARY (6), TEXT_STRING CHARACTER (79) VARYING, Y FILE;
この例では、変数 COUNTER をデータ型属性 FIXED および BINARY (6) で宣言し、変数 TEXT_STRING を属性 CHARACTER (79) および VARYING で宣言し、変数 Y をデータ型属性 FILE で宣言しています。
制約事項
なし。
説明
複数宣言では、複数の名前とその個々の属性を定義します (属性の詳細については、「宣言と属性」の章を参照してください)。
名前と属性のセットごとにカンマで区切る必要があります。最後の名前の後にセミコロンが必要です。