if( Validate.FailItem( !HasValue, "Cylinder requires a value" ) )
// return from script because nothing more to do + will add message to $LOG
return;
double val = Convert.ToDouble( Value );
Validate.FailItem( val > 8.0, "Cylinder value of '" + val + "' is out of range" );
// will add above messages to $LOG if it fails
Comments
0 comments
Please sign in to leave a comment.