{"identifier":12290,"topic":"Editing scripts","name":"Add comments to a script","text":" In HyperTalk scripts, two hyphens (<code>--<\/code>) indicate a comment. HyperTalk ignores all commented lines when executing a script. <br><br>\n\n For example: <br><br>\n\n <code><pre>on mouseUp\n   -- Displays a dialog box\n   answer \"What?\" with \"No\" or \"Yes\"\n   put it -- the user's reply\nend mouseUp<\/pre><\/code> <br>\n<br>\n \u2022 To comment several lines at once,         drag to select the lines you want to      comment, and then choose Comment      from the Script menu (or press Command-\u2013). <br><br>\n\n \u2022 To \u201cuncomment\u201d several lines at      once, drag to select the lines you want      to uncomment, and then choose      Uncomment from the Script menu      (or press Command-=). <br>\n","related":{"5960":null},"examples":"","demo":"","debug":{"9":["\rIn HyperTalk script"],"10":["\r\u2022 To comment seve"]}}