{"id":23032,"date":"2018-05-03T16:14:55","date_gmt":"2018-05-03T16:14:55","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=23032"},"modified":"2024-08-09T09:11:35","modified_gmt":"2024-08-09T09:11:35","slug":"does-flowgorithm-interpreter-ignore-comments","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/does-flowgorithm-interpreter-ignore-comments\/","title":{"rendered":"Does Flowgorithm Interpreter Ignore Comments?"},"content":{"rendered":"<h2>Does Flowgorithm Interpreter Ignore Comments?<\/h2>\n<h2>Answer<\/h2>\n<p>The Flowgorithm interpreter does ignore comments. Comments are only for human readers.\u00a0The short answer to the question is:<\/p>\n<p>Yes.<\/p>\n<h2>Explanation<\/h2>\n<p>Comments in Flowgorithm are used for documentation purposes to help others<br \/>\nunderstand the logic of your program, but they do not affect how the program runs.<\/p>\n<p>When the flowchart is run, the Flowgorithm interpreter will not execute the comments.<\/p>\n<h2>Example<\/h2>\n<p>Let&#8217;s understand this concept with the help of an example. Consider the following flowchart with three symbols.<\/p>\n<ul>\n<li>One output symbol before the comment.<\/li>\n<li>Flowchart comment.<\/li>\n<li>One output symbol after the comment.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23033\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowgorithm-Interpreter-Ignores-Comments.png\" alt=\"Flowgorithm Interpreter Ignores Comments\" width=\"1920\" height=\"928\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowgorithm-Interpreter-Ignores-Comments.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowgorithm-Interpreter-Ignores-Comments-300x145.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowgorithm-Interpreter-Ignores-Comments-1024x495.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowgorithm-Interpreter-Ignores-Comments-768x371.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowgorithm-Interpreter-Ignores-Comments-1536x742.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Execute the flowchart. Click on the green play button to run the flowchart.<\/p>\n<p>Observe the flowchart output.<\/p>\n<h2>Flowchart Output<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23034\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ignore-Comment-Flowchart-Output.png\" alt=\"Ignore Comment Flowchart Output\" width=\"1920\" height=\"968\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ignore-Comment-Flowchart-Output.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ignore-Comment-Flowchart-Output-300x151.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ignore-Comment-Flowchart-Output-1024x516.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ignore-Comment-Flowchart-Output-768x387.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ignore-Comment-Flowchart-Output-1536x774.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Notice that the flowchart interpreter ignored the comment and the output only consists of only two outputs. Note that this is not the complete test to say the comment symbol is ignored. This is because some flowchart symbols do not output to the screen but may create side effects.<\/p>\n<p>&#8212;<\/p>\n<h2><strong>Flowgorithm Tutorials<\/strong><\/h2>\n<p>Flowgorithm flowchart tutorials on this website:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.testingdocs.com\/flowgorithm-flowchart-tutorial\/\">https:\/\/www.testingdocs.com\/flowgorithm-flowchart-tutorial\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Does Flowgorithm Interpreter Ignore Comments? Answer The Flowgorithm interpreter does ignore comments. Comments are only for human readers.\u00a0The short answer to the question is: Yes. Explanation Comments in Flowgorithm are used for documentation purposes to help others understand the logic of your program, but they do not affect how the program runs. When the flowchart [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[847],"tags":[],"class_list":["post-23032","post","type-post","status-publish","format-standard","hentry","category-flowgorithm-questions","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/23032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=23032"}],"version-history":[{"count":6,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/23032\/revisions"}],"predecessor-version":[{"id":23864,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/23032\/revisions\/23864"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=23032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=23032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=23032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}