{"id":313,"date":"2021-08-29T09:19:11","date_gmt":"2021-08-29T07:19:11","guid":{"rendered":"https:\/\/workerbase.org\/wordpress\/?p=313"},"modified":"2021-11-20T16:01:54","modified_gmt":"2021-11-20T15:01:54","slug":"lua-vero-o-falso","status":"publish","type":"post","link":"https:\/\/arkenidar.com\/wordpress\/2021\/08\/29\/lua-vero-o-falso\/","title":{"rendered":"#Lua: vero o falso?"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"327\" src=\"https:\/\/workerbase.org\/wordpress\/wp-content\/uploads\/2021\/08\/image-10.png\" alt=\"\" class=\"wp-image-314\" srcset=\"https:\/\/arkenidar.com\/wordpress\/wp-content\/uploads\/2021\/08\/image-10.png 525w, https:\/\/arkenidar.com\/wordpress\/wp-content\/uploads\/2021\/08\/image-10-300x187.png 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>darcan@hp1:~$ lua\nLua 5.4.2  Copyright (C) 1994-2020 Lua.org, PUC-Rio\n&gt; not true\nfalse\n&gt; not false\ntrue\n&gt; false or false\nfalse\n&gt; false or true, true or false, true or true\ntrue    true    true\n&gt; true and true\ntrue\n&gt; false and true, true and false, false and false\nfalse   false   false\n&gt; \n<\/code><\/pre>\n\n\n\n<p><a href=\"https:\/\/it.wikipedia.org\/wiki\/Algebra_di_Boole\">https:\/\/it.wikipedia.org\/wiki\/Algebra_di_Boole<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Boolean_algebra\">https:\/\/en.wikipedia.org\/wiki\/Boolean_algebra<\/a><\/p>\n\n\n\n<p>In questo articolo ho fatto riferimento a come ci possa essere un concetto di vero\/falso per il computer. A che pro? In genere questo vero\/falso viene chiamato &#8220;condizione Booleana&#8221; (vedasi George Boole e la sua algebra Booleana). La condizione serve a determinare il corso dell&#8217;esecuzione del programma (corso detto in gergo: &#8220;flusso&#8221;, come nei &#8220;diagrammi di flusso&#8221;).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/it.wikipedia.org\/wiki\/Algebra_di_Boole https:\/\/en.wikipedia.org\/wiki\/Boolean_algebra In questo articolo ho fatto riferimento a come ci possa essere un concetto di vero\/falso per il computer. A che pro? In genere questo vero\/falso viene chiamato &#8220;condizione Booleana&#8221; (vedasi George Boole e la sua algebra Booleana). La condizione serve a determinare il corso dell&#8217;esecuzione del programma (corso detto in gergo: &#8220;flusso&#8221;, come [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,22],"tags":[16],"class_list":["post-313","post","type-post","status-publish","format-standard","hentry","category-coding","category-computer","tag-luascript"],"_links":{"self":[{"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/posts\/313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/comments?post=313"}],"version-history":[{"count":3,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/posts\/313\/revisions"}],"predecessor-version":[{"id":322,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/posts\/313\/revisions\/322"}],"wp:attachment":[{"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/media?parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/categories?post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/tags?post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}