Is there a way to return a list of the params for a specific

I’m making an abstract GUI for q that needs to be able to display a button for any function thrown at it, along with text-fields for any params it uses. Is there a function in q which returns a list of the arguments for a function? including x,y,z if they aren’t declared explicitly.

If not, what’s the best way to determine the arguments used by a function?

I’m querying the server with \f to return a list of the function names.

Cheers, Adnan.

Look at the results of value f

q)value {x+y}

0x7978410003

xy

`symbol$()

,`

“{x+y}”

thanks! just what I needed