KX Community

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

Home Forums KX Academy message after print to stderror not shown

  • message after print to stderror not shown

    Posted by lestat-jin on April 22, 2024 at 7:05 pm

    <div>
    </div>

    in the below function, if we remove “show” then the date won’t be displayed–my guess is it is due to the .z.D expression is after the -2 print? I guess we could leave the .z.D outside IF which guarantees the display, just wondering in general if any result after -2 print will not get shown, unless itself is part of -2 print ?

    checkIfThresholdBreached: {[num] if[num>=0.9;-2″Warning! Threshold breached. Level is above 90%”; show .z.D ]}

    checkIfThresholdBreached[1.89]


    Thank you,

    lestat-jin replied 7 months ago 2 Members · 2 Replies
  • 2 Replies

Log in to reply.