{"id":518,"date":"2008-12-04T22:04:28","date_gmt":"2008-12-04T20:04:28","guid":{"rendered":"http:\/\/www.tupperclub.de\/blog\/?p=518"},"modified":"2008-12-04T22:04:28","modified_gmt":"2008-12-04T20:04:28","slug":"statische-variablen-in-vba","status":"publish","type":"post","link":"https:\/\/www.tupperclub.de\/blog\/?p=518","title":{"rendered":"Statische Variablen in VBA"},"content":{"rendered":"<p><strong>Frage:<\/strong> Wie initialisiert man statische Variablen in Visual Basic auf einen anderen Wert als den Default?<\/p>\n<p><!--more--><br \/>\n<strong>Antwort:<\/strong><br \/>\nMan verwendet eine Dummy Variable als Guard, mit der man \u00fcberpr\u00fcfen kann, ob die eigentliche Variable schon initialisiert wurde. Ohne Worte!<\/p>\n<p>Das ist nicht auf meinem Mist gewachsen, sondern ist auch bei <a href=\"http:\/\/support.microsoft.com\/kb\/119737\/de\">Microsoft so spezifiziert<\/a>. Manchmal tut programmieren weh\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Frage: Wie initialisiert man statische Variablen in Visual Basic auf einen anderen Wert als den Default?<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-518","post","type-post","status-publish","format-standard","hentry","category-lastereien"],"_links":{"self":[{"href":"https:\/\/www.tupperclub.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tupperclub.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tupperclub.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tupperclub.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tupperclub.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=518"}],"version-history":[{"count":0,"href":"https:\/\/www.tupperclub.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/518\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tupperclub.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tupperclub.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tupperclub.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}