alternative_20comment_20styles
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
alternative_20comment_20styles [2018/03/31 13:19] – external edit 127.0.0.1 | alternative_20comment_20styles [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Alternative comment styles===== | =====Alternative comment styles===== | ||
- | //by Richard Russell, May 2010//\\ \\ There are three main ways of incorporating multi-line comments (remarks) in your program:\\ \\ | + | //by Richard Russell, May 2010//\\ \\ There are three main ways of incorporating multi-line comments (remarks) in your program: |
==== Using the REM statement ==== | ==== Using the REM statement ==== | ||
+ | <code bb4w> | ||
REM This is comment line one | REM This is comment line one | ||
REM This is comment line two | REM This is comment line two | ||
REM This is comment line three | REM This is comment line three | ||
- | Comments of this kind will be automatically removed from a ' | + | </ |
+ | Comments of this kind will be automatically removed from a ' | ||
==== Using the *| command ==== | ==== Using the *| command ==== | ||
+ | <code bb4w> | ||
*| This is comment line one | *| This is comment line one | ||
*| This is comment line two | *| This is comment line two | ||
*| This is comment line three | *| This is comment line three | ||
- | Comments of this kind are preserved, irrespective of the crunch options. They are useful if, for example, you want to include a comment in a ' | + | </ |
+ | Comments of this kind are preserved, irrespective of the crunch options. They are useful if, for example, you want to include a comment in a ' | ||
+ | |||
==== Using line continuation characters ==== | ==== Using line continuation characters ==== | ||
+ | <code bb4w> | ||
:\ | :\ | ||
\\ This is comment line one | \\ This is comment line one | ||
Line 18: | Line 26: | ||
\\ This is comment line three | \\ This is comment line three | ||
\: | \: | ||
+ | </ | ||
Comments of this kind are automatically deleted from a ' | Comments of this kind are automatically deleted from a ' |
alternative_20comment_20styles.1522502345.txt.gz · Last modified: 2024/01/05 00:18 (external edit)