Example:
KILL A
SET A="A",A(1)=1,A(1,1)=1
WRITE $D(A(1)),!
ZWITHDRAW A(1)
WRITE $D(A(1)),!
ZWRITE A
QUIT
produces the result:
11 10 A="A" A(1,1)=1
This sets up local variables A and A(1) and A(1,1). It then deletes the data for A(1) with ZWITHDRAW. The ZWRITE command shows ZWITHDRAW KILLed A(1) but left A and A(1,1).