-
message after print to stderror not shown
<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,
Log in to reply.