
Cantata(Control)             Khoros              Cantata(Control)

     SWITCH Control Structure

     The SWITCH structure is used to switch between two input
     data connections.  When the glyph is executed one of the two
     input connections will be passed to the output filename.
     The conditional expression is evaluated in order to choose
     which input is to be used.  If the conditional expression
     evaluates to a non-zero value then the first input is pro-
     pagated, otherwise the second input is propagated.  Note
     that it is assumed that both of the two input connections
     will be valid, before the evaluation will be performed and
     the appropriate input connection data propagated to the out-
     put filename.  The rest of the network connected to the
     glyph's output connection will then be active for scheduling
     and dispatching.

     Copyright 1991, University of New Mexico. All rights
     reserved.

Khoros                    Release: 1.0                          1

