Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: #### Tcl_output

Function: tcl_output (<list>, <i0>, <skip>)

Function: tcl_output (<list>, <i0>)

Function: tcl_output ([<list_1>, ..., <list_n>], <i>) Prints elements of a list enclosed by curly braces `{ }`, suitable as part of a program in the Tcl/Tk language.

`tcl_output (<list>, <i0>, <skip>)` prints <list>, beginning with element <i0> and printing elements `<i0> + <skip>`, `<i0> + 2 <skip>`, etc.

`tcl_output (<list>, <i0>)` is equivalent to `tcl_output (<list>, <i0>, 2)`.

`tcl_output ([<list_1>, ..., <list_n>], <i>)` prints the <i>th elements of <list_1>, ..., <list_n>.

Examples:

`          (%i1) tcl_output ([1, 2, 3, 4, 5, 6], 1, 3)\$`

```           {1.000000000     4.000000000
}
(%i2) tcl_output ([1, 2, 3, 4, 5, 6], 2, 3)\$```

```           {2.000000000     5.000000000
}
(%i3) tcl_output ([3/7, 5/9, 11/13, 13/17], 1)\$```

```           {((RAT SIMP) 3 7) ((RAT SIMP) 11 13)
}
(%i4) tcl_output ([x1, y1, x2, y2, x3, y3], 2)\$```

```           {\$Y1 \$Y2 \$Y3
}
(%i5) tcl_output ([[1, 2, 3], [11, 22, 33]], 1)\$```

{SIMP 1.000000000 11.00000000 }

```(%o1)                                true
(%i2) ```

### Related Examples

? tcl_output;

Calculate

##### tcl_output

? tcl_output;

Calculate 