Specifications
Supported conversions
BinaryStringDateNumberColumn data
type
Not supportedDecimal
representation of
the number
Not supportedStraightforward (*)INTEGER
Not supportedDecimal
representation of
the number
Not supportedStraightforward (*)REAL
Not supportedISO 8601
representation of
the date-time
StraightforwardNot supportedDATETIME
Not supportedStraightforward
(Unicode)
Interpret as ISO
date-time
representation
(Unicode)
Decimal number
representation
(Unicode)
STRING
StraightforwardInterpret as latin-1
encoding (i.e.
clear high bytes)
Interpret as ISO
8601 date-time
representation
(ASCII)
Decimal number
representation
(ASCII)
BINARY
(*) Values out of the range that can be represented in JavaScript are converted to negative or
positive infinity.
18.7 Flow element module
Entry points
Entry points form the mechanism for passing control from Switch to a script in a structured
manner. Specifically, an entry point is a function defined in a script (according to the rules
specified below) and intended to be called from the Switch application. All other functions
defined in the scripting API work the other way around: they expect to be called from a script.
Switch invokes the entry points defined in a script at certain appropriate times, as explained
below. Also see execution modes.
The first argument for each entry point is an instance of the Switch class or of the Environment
class. This object serves as the starting point for accessing the information offered by the flow
element and metadata modules in the scripting API.
Regular execution
Switch expects one or both of the following two entry points to be present in each script:
444
Enfocus Switch 10