Specifications

DescriptionData type
Text stringText
Possibly localized text string (that is, there may be multiple language
versions)
Alt Text
Switch always uses the default language; so this data type is
equivalent to Text
List of items of type Text (see indexed variables)Text Indexed
Boolean value true or falseBoolean
Integer numberInteger
Rational number formed by division of two integersRational
A moment in time, including date and/or time informationDate
See also:
Basic syntax on page 292
Formatting on page 293
Comparing on page 295
Indexed variables on page 296
String manipulations on page 297
Formatting
The following table describes the formatting options for each data type, including:
The default representation which is used when no formatting arguments are present.
The supported formatting arguments, if any, and the corresponding representation.
Representation as a text stringDescription of data type
/Formatting argument
Data type
Text stringText stringText
Text string (Switch always uses the default
language)
Possibly localized text stringAlt Text
See indexed variablesList of items of type TextText Indexed
"True" or "False" (or all-lower-case versions)Boolean value true or falseBoolean
Decimal representation (including minus sign
if needed; no plus sign; no leading zeroes)
Integer numberInteger
Decimal representation of the form: numerator,
forward slash, denominator; example: "2/3" or
"-17/4"
Rational number formed by
division of two integers
Rational
293
Enfocus Switch 10