Monday, December 7, 2015

lists


  • Lists
    • Lists are equivalent to arrays in the conventional programming language like C.
    • Lists can be expanded and collapsed on the fly.

  • Example 1:
    • set list1 "a  b c d"

  • Functions associated with lists :
    • lindex
    • lappend
    • lindex
    • llength
    • lrange
    • lreplace
    • lsearch
    • lsort
    • split
    • join
    • concat
Example 2:

No comments: