True

Determines whether the specified tag or expression is logically true.

Function Group Execution Windows Embedded Thin Client Mobile Access
True Logical Synchronous Supported Supported Supported Supported

Syntax

Web Studio Help ces2fr function logical true.xml d143940e76 True

TagOrExpression
Tag or expression to be used in the function.

Returned value

0 If the tag or expression is not logically true.
1 If the tag or expression is logically true.
Tip: You may find this function useful if you need to return an actual value of 1 when the expression returns some value other than 0.

Examples

Tag Name Expression
Tag True( 1 ) // Returned value = 1
Tag True( 5 < 2 ) // Returned value = 0

True