aboutsummaryrefslogtreecommitdiff
path: root/docs/help/comment.html
diff options
context:
space:
mode:
authorrazetime <raghuallthetime@hotmail.com>2022-01-20 11:57:50 +0530
committerrazetime <raghuallthetime@hotmail.com>2022-01-20 11:57:50 +0530
commitf3d45a1ca914d59968531a6d5c409d80b73e53c3 (patch)
treebc89e3b80c84d854f382e03fdbb5a43e08d791b8 /docs/help/comment.html
parent97e5db7fa0bf2389589a99ccd26cf84c1e0ced73 (diff)
complete REPL help for symbols
Diffstat (limited to 'docs/help/comment.html')
-rw-r--r--docs/help/comment.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/help/comment.html b/docs/help/comment.html
new file mode 100644
index 00000000..d35ee10e
--- /dev/null
+++ b/docs/help/comment.html
@@ -0,0 +1,16 @@
+<head>
+ <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
+ <link href="../style.css" rel="stylesheet"/>
+ <title>BQN: Number Sign (`#`)</title>
+</head>
+<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
+<h1 id="number-sign-"><a class="header" href="#number-sign-">Number Sign (<code><span class='Comment'>#</span></code>)</a></h1>
+<h2 id="-comment"><a class="header" href="#-comment"><code><span class='Comment'>#</span></code>: Comment</a></h2>
+<p>Create a comment that extends till the end of a line.</p>
+<p>Anything written in comments is ignored.</p>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=MSArIDIgIyArIDMgKyA0CgoiSGVsbG8gd29ybGQhIiAjIHRoaXMgaXMgaWdub3JlZCE=">↗️</a><pre> <span class='Number'>1</span> <span class='Function'>+</span> <span class='Number'>2</span> <span class='Comment'># + 3 + 4
+</span>3
+
+ <span class='String'>&quot;Hello world!&quot;</span> <span class='Comment'># this is ignored!
+</span>"Hello world!"
+</pre>