This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
reference:spamrules_comments [2011/08/22 09:42] – created simon | reference:spamrules_comments [2011/08/23 09:41] – [Example] simon | ||
---|---|---|---|
Line 4: | Line 4: | ||
Any line beginning with a # character is treated as a comment. Comments must be on a line of their own; there is no way to add a comment to the end of a line | Any line beginning with a # character is treated as a comment. Comments must be on a line of their own; there is no way to add a comment to the end of a line | ||
- | =====Example===== | + | =====Examples===== |
+ | The following example demonstrates valid uses of comments | ||
< | < | ||
- | # This is a comment | + | ${Apples} = 1 |
- | # This is another comment | + | # A comment |
+ | #This is another comment, but I'll type code on the next line | ||
+ | ${Pears} = 2 | ||
+ | </ | ||
+ | |||
+ | The following example shows an invalid use of comments | ||
+ | < | ||
+ | ${Apples} = 1 #Comments should never appear on the same line as any of your code | ||
</ | </ |