REDUCE command

The REDUCE command reduces the size of an example table, COMMENTS box, or CONDITIONS box.

To reduce a table, position your cursor appropriately (see the asterisk in the examples) and enterREDUCE on the command line or press the Reduce function key.

Examples

  • Example 1:

    Remove a column. Put the cursor above the line, within the column, and press the Reduce function key. The result is shown in the following figure.

    Figure 1. Removing a column from an example table
    Before:                              After:
     
    TNAME | COL1 *| COL2 | COL3 |        TNAME | COL2 | COL3 |
    ------+-------+------+------|        ------+------+------|
          |       |      |      |              |      |      |
  • Example 2:

    Narrow the column that is labeled with the table name. Put the cursor above the line, in that column, and press the Reduce function key. The result is shown in the following figure.

    Figure 2. Narrowing the table-name column in an example table
    Before:                              After:
     
    TNAME  * | COL1 | COL2 | COL3 |      TNAME | COL1 | COL2 | COL3 |
    ---------+------+------+------|      ------+------+------+------|
             |      |      |      |            |      |      |      |
  • Example 3:

    Narrow any other column. Put the cursor on or below the line, in that column, and press the Reduce function key. The result is shown in the following figure:

    Figure 3. Narrowing a column in an example table
    Before:                               After:
     
    TNAME | COL1 | COL2      | COL3 |     TNAME | COL1 | COL2 | COL3 |
    ------+------+-----------+------|     ------+------+------+------|
          |      |        *  |      |           |      |      |      |
  • Example 4:

    Remove a row. Put the cursor under the table name, in the row to be removed, and press the Reduce function key. The result is shown in the following figure.

    Figure 4. Removing a row from an example table
    Before:                               After:
     
    TNAME | COL1 | COL2 | COL3 |          TNAME | COL1 | COL2 | COL3 |
    ------+------+------+------|          ------+------+------+------|
    P.    |   10 |      |      |          P.    |   10 |      |      |
    P.  * |      | J48  |      |
  • Example 5:

    Narrow a CONDITIONS or COMMENTS box. Put the cursor below the line, inside the box, and press the Reduce function key. The result is shown in the following figure.

    Figure 5. Narrowing a Conditions box in an example table
    Before:                               After:
     
    |             CONDITIONS           |  |     CONDITIONS     |
    |----------------------------------|  |--------------------|
    |                  *               |  |                    |
  • Example 6:

    Remove a row from a CONDITIONS or COMMENTS box. Put the cursor below the line, on the vertical bar at the left, and press the Reduce function key. The result is shown in the following figure.

    Figure 6. Removing a row from a Conditions box
    Before:                               After:
     
    |      CONDITIONS     |               |     CONDITIONS     |
    |---------------------|               |--------------------|
    *  _COL1 > 100        |               | _COL3/12 < 90      |
    |  _COL3/12 < 90      |