Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

配列の表示と削除

generated description: treedone.gif

配列のすべてまたは一部の内容を表示するには、Zwrite コマンドを使用します。

SAMPLES>zwrite A(5)
A(5)=4
A(5,"C")=4
A(5,"D",-2.7)=4
SAMPLES>

Kill コマンドを思い出してください。ツリー内のノードに Kill を使用すると、そのノードと子が削除されます。Kill A は全構造を削除します。Kill A(5) はノードと 3 つ下位にあるノードを削除します。

FeedbackOpens in a new tab