32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<!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> |