<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,
<div><br>
</div>
<div>if we return val.flags = PV_VAL_NULL, does the == $null comparison work ?</div>
<div><br>
</div>
<div>script example</div>
<div><br>
</div>
<div>my_function("some param","$var(result)");</div>
<div>if( $var(result<span style="font-size: 10pt;">) == $null {</span></div>
<div><span style="font-size: 10pt;">  do something</span></div>
<div><span style="font-size: 10pt;">}</span></div>
<div>
<div><span style="font-size: 10pt;">in code => dst_pv->setf(msg, &dst_pv->pvp, (int)EQ_T, &dst_val);</span></div>
</div>
<div>
<div><span style="font-size: 10pt;"> should the comparison work if we set </span>
dst_val<span style="font-size: 10pt;">.flags = PV_VAL_NULL ?</span></div>
</div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><br>
</div>
<div>if( $(myPvar{my.mytransform,transformParameter}) == $null) {</div>
<div>  ....</div>
<div>}</div>
<div>should this work if the transform returns <span style="font-size: 10pt;">val.flags = PV_VAL_NULL ?</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">thank you</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</body>
</html>