
Cantata(Control)             Khoros              Cantata(Control)

     SWITCH EXAMPLE

     The following example illustrates the use of the switch con-
     trol glyph to choose one of two inputs to send to the rest
     of the network.

                    ------------
          Input1 ---|=>      =>|-----> Output
          Input2 ---|=>        |
                    |          |
        trigger ----|=>        |
        (optional)  |  switch  |
                    ------------

          { open switch glyph, and enter the desired conditional expression
            in the first parameter box.  If conditional expression is TRUE,
            Input1 is sent to Output;  if conditional expression is FALSE,
            Input2 is sent to Output.  If trigger is used, the conditional
            expression will not be evaluated until the trigger'ed network
            has finished executing. }

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

Khoros                    Release: 1.0                          1

