Before you could do
key `.
and it would list all the namespace like
o
z`
etc.
In version 3.6 , it now shows
`symbol$()
Question is how do you list all the namespaces in the session ?
Before you could do
key `.
and it would list all the namespace like
o
z`
etc.
In version 3.6 , it now shows
`symbol$()
Question is how do you list all the namespaces in the session ?
Hi,
You should be able to use key to return a list of namespaces and key
. to return a list of the variables and functions defined in that q session. See below for example.
q)key `
q
Qh
j`o
q)key `.
`symbol$()
q)func:{x+y}
q)variable:123
q)key`.
func
variable
Thanks,
Caitlin
See here for the difference:
https://code.kx.com/q/ref/key/#key-of-a-dictionary
Best
Stephen
Stephen Taylor | Librarian | Kx | +44 7713 400852 | stephen@kx.com