Using pod
For additional information on pod, type "man perlpod" at the command line.
In C:
/*$ -----> this starts the documentation=head1 NAME -----> starts a section
puff
=head1 SYNOPSIS
puff par= < in.H > out.H
=head1 PARAMETERS
=over 4 -----> this starts a list
=item sea
location parameter
=back -----> this ends the list
=cut -----> this ends the documentation
In F90:
!!$ -----> starts doc
!!$
!!$=head1 NAME
!!$
!!$magic
!!$
!!$=head1 DESCRIPTION
!!$
!!$frolicks in mist
!!$
!!$=cut
In Ratfor90, perl, CSH:
#$ -----> starts doc
#$
#$=head1 NAME
#$
#$dragon
#$
#$=head1 DESCRIPTION
#$
#$=head2 Old English -----> starts a subsection
#$
#$big, bad, miserly
#$
#$=head2 American
#$
#$friendly, playful
#$
#$=cut
The text pages come up by just typing the
program name on the command line. The tex
pages can be created as any Latex document
is created. The man pages come up with
the standard man command. We are currently
finding a place to put the html pages. The
info pages will soon be working.
|
Department of Geophysics Stanford University |
|