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

**URL:** <https://forum.kx.com/t/is-there-a-way-to-return-a-list-of-the-params-for-a-specific/8536>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [December 8, 2013, 8:17pm UTC](https://forum.kx.com/t/is-there-a-way-to-return-a-list-of-the-params-for-a-specific/8536 "2013-12-08T20:17:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adnan\_gazi01](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@adnan\_gazi01](https://forum.kx.com/u/adnan_gazi01)\
**Post date:** [December 8, 2013, 8:17pm UTC](https://forum.kx.com/t/is-there-a-way-to-return-a-list-of-the-params-for-a-specific/8536/1 "2013-12-08T20:17:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Peter\_Byrne](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@Peter\_Byrne](https://forum.kx.com/u/Peter_Byrne)\
**Post date:** [December 8, 2013, 8:20pm UTC](https://forum.kx.com/t/is-there-a-way-to-return-a-list-of-the-params-for-a-specific/8536/2 "2013-12-08T20:20:00Z")

</div>

Look at the results of value f

q)value {x+y}

0x7978410003

`x`y

`symbol$()

,`

“{x+y}”

---

<div class="post-metadata">

**Author:** ![adnan\_gazi01](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@adnan\_gazi01](https://forum.kx.com/u/adnan_gazi01)\
**Post date:** [December 9, 2013, 2:30pm UTC](https://forum.kx.com/t/is-there-a-way-to-return-a-list-of-the-params-for-a-specific/8536/3 "2013-12-09T14:30:00Z")

</div>

thanks! just what I needed
