18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix: Built-in Scripting Language<br />

True<br />

Determines whether the specified tag or expression is logically true.<br />

Function Group Execution Windows Embedded Thin Client<br />

True Logical Synchronous Supported Supported Supported<br />

Syntax<br />

True(TagOrExpression)<br />

TagOrExpression<br />

Tag or expression to be used in the function.<br />

Returned value<br />

0 If the tag or expression is not logically true.<br />

1 If the tag or expression is logically true.<br />

Tip: You may find this function useful if you need to return an actual value of 1 when the<br />

expression returns some value other than 0.<br />

Examples<br />

Tag Name<br />

Expression<br />

Tag True( 1 ) // Returned value = 1<br />

Tag True( 5 < 2 ) // Returned value = 0<br />

Page 552<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!