KX Community

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

Home Forums KX Academy Inter Process Communication: code only returns : :

  • Inter Process Communication: code only returns : :

    Posted by Joe on July 16, 2024 at 10:43 am

    Just started the Inter Process Communication Course and whenever I am running my own code it returns : : within the console. I have run the code that is already in the developer and it works but when I run my own code it only displays : : . I have run all the previous code on the render markdown that I am able to.

    megan_mcp replied 4 months, 1 week ago 2 Members · 5 Replies
  • 5 Replies
  • megan_mcp

    Administrator
    July 16, 2024 at 5:21 pm

    Hi Joe,

    Would you be able to provide me with a few extra details about this.

    – Are you running your code in the markdown file or the scratchpad?

    – Have you experiencing this issue with the content file or the exercises file or both ?

    – Can you send a screenshot of an example of this happening?

    Many thanks,

    Megan

  • Joe

    Member
    July 17, 2024 at 8:39 am

    Its working now.

  • Joe

    Member
    July 17, 2024 at 9:36 am

    its doing it again. I am running it from the rendered markdown file. it only returns it when I run the exercises.

    • megan_mcp

      Administrator
      July 17, 2024 at 11:12 am

      Hi Joe,

      Can you send an example of a code snippet you are trying to run in the rendered markdown file that causes this problem ? Such as this:

      I may have to access your server to get a closer look.

      Many thanks,

      Megan

    • megan_mcp

      Administrator
      July 17, 2024 at 11:31 am

      Hi Joe,

      So ‘ : : ‘ is the generic null value in Q. If a function returns no value it actually returns ‘ : : ‘ .

      Take a look at the example below, when this function is passed a parameter of 4, it returns 4.

      But if we don’t pass it anything, it returns null.

      Hope this helps!

      Thanks,

      Megan

Log in to reply.