DText()
- Last UpdatedNov 23, 2020
- 1 minute read
Discrete パラメータの値に応じて 2 つの値のうちのいずれかを返します。
カテゴリ
文字列
構文
StringResult = DText( Discrete, OnMsg, OffMsg );
パラメータ
Discrete
ブール値またはブール属性。
OnMsg
Discrete が true の場合に表示されるメッセージ。
OffMsg
Discrete が false の場合に表示されるメッセージ。
例
StringResult = DText(me.temp > 150, "Too hot", "Just right");