Functions, Operators, Switch Cases and Truth Tables : Truth Tables : Input Columns

Input Columns

The input columns of a truth table are similar to the following:

Each column in the input section of the table is associated with an input. Inputs can be either a Rational Statemate element or expression. Subroutine parameters and globals can be used as inputs when the truth table is a subroutine implementation body.

Compound elements can be used as inputs. For example, CO_2 can be defined as D1>5 and in (STATE_1).

Entries in the input section can be:

For example:

Row 1

CO_1 and not CO_2 and DI_1==1 and REC_1==REC_2 and
ARR_1=={1,2,3}

Row 2

not CO_1 and not CO_2 and DATA_1==2