How clear variable's memory? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How clear variable's memory?

for example i define variable text="some thing". this variable get any volume of memory on ram or anything. i want clear this volume. How?

28th Dec 2016, 1:11 PM
alireza shokri
alireza shokri - avatar
2 Answers
+ 1
hi you can use the keywoed del <varname> this will be delete your variable from memory. in your case del text
28th Dec 2016, 2:25 PM
THDevelop
THDevelop - avatar
0
yes it is. tanks alot.
28th Dec 2016, 3:23 PM
alireza shokri
alireza shokri - avatar