Documentation: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
(Added XPL0 example.)
Line 1,970: Line 1,970:
'meaning of life' capitalized = Meaning of life
'meaning of life' capitalized = Meaning of life
</pre>
</pre>

=={{header|XPL0}}==
There are no external tools for inserting documentation into an XPL0
program other than by using a text editor to insert comments.

Comments can be inserted into code by enclosing them between backslashes.
Comments are always terminated by the end of the line.

Anything following double backslashes (\\) on a line is a comment (like
forward slashes in C).

Since single backslashes turn comments on and off, double backslashes are
useful for commenting out a line that may contain backslashes.


=={{header|ZX Spectrum Basic}}==
=={{header|ZX Spectrum Basic}}==