is there any "clear" like function in kdb?

hi, gents:is there any function working like the “clear” in matlab? Sometimes Iaccumulate a whole a lot of variables/tables in the memory, I think itwill be nice to delete some of them.How to achieve such a functionality? does any one have some insights?thanks!-- CHEN, Cheng

You can simply delete the object in question from the namespace in which it lives. Assuming global namespace:

a:0

delete a from `.

q)\v                                                                                                                                                            

`symbol$()

q)a:2                                                                                                                                                           

q)b:2                                                                                                                                                           

q). set symbol$()                                                                                                                                             

`.

q)\v                                                                                                                                                            

`symbol$()

q)