KX Community

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

Home Forums KX Academy 1 "hello" return hello1 Re: 1 "hello" return hello1

  • Laura

    Administrator
    April 5, 2022 at 12:00 am

    To enlarge on Rians answer, the hello1 you see is not the result. The string hello is written to the console. The result 1 is also written to the console and followed by a newline as usual. Assigning the result makes the difference clear.

     

    q)1 “hello”

    hello1

    q)a:1 “hello”

    helloq)

    q)a 1

    q)