The syntax for length of list is
llength listName
Example:
set var {orange blue red green} puts [llength $var]
Jan 3, 2022 | tcl | 0 comments
The syntax for length of list is
llength listName
Example:
set var {orange blue red green} puts [llength $var]
Subscribe now to keep reading and get access to the full archive.
Recent Comments