Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

DText()

  • Last UpdatedMay 10, 2016
  • 1 minute read

Returns one of two possible strings, depending on the value of the Discrete parameter.

Category

String

Syntax

StringResult = DText( Discrete, OnMsg, OffMsg );

Parameters

Discrete

A Boolean value or Boolean attribute.

OnMsg

The message that is shown when the value of Discrete equals true.

OffMsg

The message shown when Discrete equals false.

Example

StringResult = DText(me.temp > 150, "Too hot", "Just right");

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in