Script appendix

In this topic:

Routing conditions

In an Askia survey, a routing instruction has three parts:

In AskiaDesign, the following considerations apply:

Truthy/Falsy

Askia defines truthy and falsy values, which indicate how the expression returned by the condition will be treated.

The following expressions are considered False:

False         ' => Explicit false
0              ' => Zero
DK            ' => DK value

All other values are considered True.

Examples

Return Age   ' => 2 (True)
Return 0      ' => False

Return DK       ' => DK (False)

Dim Text = "ABC" 
Return Text ' => "ABC" (True)

Reserved keywords (Index of keywords)

Constructor

Accessors

Operators

Predefined values

Predefined objects

Execution flow

Inline script specific

Reserved but not implemented

AskiaScript 1.0 specific keywords

Create your own Knowledge Base