Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

<CODE>

Usage Recommendation
thumbs up 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.

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire