Sfairadora

  • Reference Guide

Disp_switch_def

The definition type of a disp-switch.
Type
Name
Description
Int|Enki
value_source
Determines the manner of obtaining the values used to switch the presentation. One of the value source constants.
Atom|Enki optional
data_id
If the attribute value_source is set to VS_REFERENCE_VALUE or VS_REFERENCE_TYPE, this attribute determines the name of the object in which the decisive data item is located.
Dref|Enki optional
data_ref
The reference of the decisive data item.
Text|Enki optional
function
If the attribute value_source is set to VS_FUNCTION, this attribute determines the function used to obtain the decisive value.
If the type Text is specified, it is an Enki function. If the type Enki is specified, it is a function returning the function’s source text (i.e. an indirect function).
Int|Enki
value_interpretation
Determines the interpretation of the decisive value. One of the value interpretation constants.
Int|Enki
max_recursion
Maximum recursion depth of the disp-switches with the same definition object.
Seq(Case_info) optional
(see below)
case_list
If the attribute value_interpratation is set to VI_CASE_LIST, this attribute contains the list of the value-to-dispel assignments.
default_child
The dispel displayed, when the decisive value is not found in the case_list.

Case_info

Type
Name
Description
value
The value to which is the dispel assigned.
child
The definition of the dispel assigned to the value.