The syntax for length of list is
llength listName
Example:
set var {orange blue red green}
puts [llength $var]
Last Updated on 2022-01-03 by gantovnik
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]
Last Updated on 2022-01-03 by gantovnik
Subscribe now to keep reading and get access to the full archive.
Recent Comments