KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Academy Issues with Outputs of Strings and Symbols Re: Issues with Outputs of Strings and Symbols

  • rocuinneagain

    Member
    May 3, 2023 at 12:00 am

    q makes a balance when displaying about levels of detail.

    Always giving full exact information would make all output very messy and more like code rather than nicely displayed information for human to view.

     

    There are some tools and tips you can use to inspect items in more detail during development and debugging.

    Using .Q.s1 is most useful I find to drill down. (Along with usual type, count etc)

    https://code.kx.com/q/ref/dotq/#s1-string-representation

     

     

    -1 .Q.s1 itemToInspect

     

     

     

    A script designed to display items in detail nicely:

    https://github.com/LeslieGoldsmith/dpy