Skip to main content

Logical.ToText

Returns the text "true" or "false" given a logical value.

Syntax

Logical.ToText(
logicalValue as logical
) as text

Remarks

Creates a text value from the logical value logicalValue, either true or false. If logicalValue is not a logical value, an exception is thrown.

Examples

Example #1

Create a text value from the logical <code>true</code>.

Logical.ToText(true)

Result:

"true"

Category

Logical