<CODE>
| Usage Recommendation |
use it |
<CODE> indicates text that is the code for a program. <CODE> is rendered
in a fixed width font.
| this code |
produces this |
This code opens the data file:
<P>
<CODE>
# open the listing file<BR>
unless ( open(MYDATA, "data.txt") )<BR>
{die "couldn't open data file\n"}
</CODE>
|
This code opens the data file:
# open the listing file
unless ( open(MYDATA, "data.txt") )
{die "couldn't open data file\n"}
|
For lengthy code examples, most authors prefer <PRE ...>, which is much better
for showing spacing and indentation.
|