Skip to main content

Write (again) and Kill Commands

You may have noticed that we've already used variables to hold data. Use Write without any argument (called an “argumentless Write”) to see the values of all variables. You use Kill to delete a variable, and an argumentless Kill to delete all variables. Kill and argumentless Write are useful when you are debugging a routine.

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