{"id":5957,"date":"2022-12-20T18:57:46","date_gmt":"2022-12-20T21:57:46","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/llength-mann\/"},"modified":"2022-12-20T18:57:46","modified_gmt":"2022-12-20T21:57:46","slug":"llength-mann","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/llength-mann\/","title":{"rendered":"llength (mann)"},"content":{"rendered":"<h1 align=\"center\">llength<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#KEYWORDS\">KEYWORDS<\/a> <\/p>\n<hr>\n<p>______________________________________________________________________________<\/p>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">llength \u2212 Count the number of elements in a list<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>llength<\/b> <i>list<\/i> ______________________________________________________________________________<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Treats <i>list<\/i> as a list and returns a decimal string giving the number of elements in it.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The result is the number of elements:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">% <b>llength<\/b> {a b c d e} <br \/> 5 <br \/> % <b>llength<\/b> {a b c} <br \/> 3 <br \/> % <b>llength<\/b> {} <br \/> 0<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Elements are not guaranteed to be exactly words in a dictionary sense of course, especially when quoting is used:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">% <b>llength<\/b> {a b {c d} e} <br \/> 4 <br \/> % <b>llength<\/b> {a b { } c d e} <br \/> 6<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">An empty list is not necessarily an empty string:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">% set var { }; puts &#8220;[string length $var],[<b>llength<\/b> $var]&#8221; <br \/> 1,0<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">list(n), lappend(n), lindex(n), linsert(n), lsearch(n), lset(n), lsort(n), lrange(n), lreplace(n)<\/p>\n<h2>KEYWORDS <a name=\"KEYWORDS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">element, list, length<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  llength \u2212 Count the number of elements in a list <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3783,1],"tags":[2650,2635],"class_list":["post-5957","post","type-post","status-publish","format-standard","hentry","category-n-comandos-tcl-tk","category-sin-categoria","tag-llength","tag-mann"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=5957"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5957\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=5957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=5957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=5957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}