Tcl · Lesson 6

Lists: build, index, sort, search and map

Make lists with list and lappend, read them with lindex and lrange, sort and search them, convert with split and join, and transform with lmap.

Lessons · Tcl · Lesson 6 of 10

Lists: build, index, sort, search and map

Make lists with list and lappend, read them with lindex and lrange, sort and search them, convert with split and join, and transform with lmap.

Illustration for Tcl
Make lists with list and lappend, read them with lindex and lrange, sort and search them, convert with split and join, and transform with lmap.