Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在以下位置创建了一个变量:
q)myvar: 1
我怎样才能删除它?我试过了:
q)delete myvar from `.z
但命名空间 `.z 显然不是正确的,因为变量仍然存在:
q)myvar 1
顶部命名空间实际上被称为`.,因此以下将起作用:
`.
q)delete myvar from `. `. q)myvar `myvar
此外,运行key `.将显示在顶部命名空间中定义的所有变量。
key `.