Updated docs
This commit is contained in:
32
doc/files/comments.html
Normal file
32
doc/files/comments.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>RCBasic Comments [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>COMMENTS </h2></p>
|
||||
<p>
|
||||
Comments are remarks you can add to your code which will be ignored by the compiler. To make a comment you would use a single quote. Look at the following:
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_comment">' THIS IS A COMMENT </span><br>
|
||||
<span class="rc_keyword">Print</span> HELLO <span class="rc_string">"WORLD ' THIS IS ANOTHER COMMENT <br>
|
||||
</code></p>
|
||||
<p>
|
||||
MULTI-LINE COMMENTS
|
||||
</p>
|
||||
<p>
|
||||
Multi-line comments are comments that can span multiple lines. To start a multi-line comment you would use forward slash followed by a single quote and you would end it with a single quote followed by a forward slash. Look at the following:
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
/<span class="rc_comment">' THIS IS </span><br>
|
||||
A <br>
|
||||
MULTI-LINE COMMENT <span class="rc_comment">'/ </span><br>
|
||||
</code></p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user