Skip to main content
Skip table of contents

convertToString() Operation for Booleans

Syntax

set aString = aBoolean.convertToString()
set aString = convertToString(true|false)

Semantics

Converts boolean values to strings. The string is assigned either true or false.

Substitutables

aBoolean

Can be any variable or object attribute having the type Boolean.

Examples

Converts the value of the boolean variable b to a string having the value true or false.

NONE
set s1 = b.convertToString(); 

Assigns false to string s2.

NONE
set s2 = convertToString(false); 

Some Examples

Boolean Value

String Value

true

“true”

false

“false”

ActionScript_TypeConversions_Example

Click here to download a simple example model that different possibilities for type conversions between Float, Integer, String, and Boolean types in Scheer PAS Designer.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.