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?

Write コマンドと Kill コマンド

これまで、データを保持するために変数を使用することを学習してきました。引数を持たない Write (“引数なし Write”) を使用すると、すべての変数の値を表示できます。Kill コマンドを使用して変数を削除することができます。また、引数なしの Kill コマンドはすべての変数を削除します。Kill と引数なしの Write は、ルーチンをデバッグする場合に便利です。

SAMPLES>set a = 1, b = 2, c = 3, d = 4, e = 5

SAMPLES>write
a=1
b=2
c=3
d=4
e=5
SAMPLES>kill c

SAMPLES>write

a=1
b=2
d=4
e=5
SAMPLES>kill

SAMPLES>write

SAMPLES>
FeedbackOpens in a new tab