The syntax for getting size of dict is
[dict size dictname]
Example:
set thicknesses [dict create t1 0.1 t2 0.2] puts [dict size $thicknesses]
Result:
2
Jan 4, 2022 | tcl | 0 comments
The syntax for getting size of dict is
[dict size dictname]
Example:
set thicknesses [dict create t1 0.1 t2 0.2] puts [dict size $thicknesses]
Result:
2
Subscribe now to keep reading and get access to the full archive.
Recent Comments