KX Community

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

Home Forums KX Academy Does -2 log messages?

  • Does -2 log messages?

    Posted by mannix on March 15, 2022 at 12:00 am

    In the line from the standard tick setup:

    if[0<=type i;-2 (string L),” is a corrupt log. Truncate to length “,(string last i),” and restart”;exit 1];hopen L};

    What is -2 doing? I assume it logs the message?

    Where does it log the message to?
    Is this -2 a kdb thing or is this bash scripting?
    Finally, is there an documentation on the use of -2 here.

    mannix replied 8 months, 2 weeks ago 2 Members · 1 Reply
  • 1 Reply

Log in to reply.