The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<!doctype html public "-//W30//DTD W3 HTML 2.0//EN">

<HTML>

<!-- This file was generated using SDF 2.001 by
     Ian Clatworthy (ianc@mincom.com). SDF is freely
     available from http://www.mincom.com/mtr/sdf. -->

<HEAD>
<TITLE>SDF 2.001: SDF Reference: PrependText</TITLE>
</HEAD>
<BODY BGCOLOR="ffffff">

<DIV CLASS="header">
<P><IMG SRC="../sdflogo.gif" ALIGN="Right"></P>
<DIV CLASS="navigate">
<P ALIGN="Center"><A HREF="re_sdf.html">Contents</A> | <A HREF="in_sub.html">Parent Topic</A> | <A HREF="sformatt.html">Previous Topic</A> | <A HREF="in_var.html">Next Topic</A> <BR><A HREF="../index.html">Home</A> | <A HREF="../catalog.html">Catalog</A></P>
</DIV>
<BR CLEAR="Right">
</DIV>
<DIV CLASS="main">
<H1>12.5. PrependText</H1>
<HR>
<H2><A NAME="Purpose">Purpose</A></H2>
<P>PrependText is used within a paragraph event handler to prepend <A HREF="http://www.mincom.com/mtr/sdf/">SDF</A> before a paragraph.</P>
<HR>
<H2><A NAME="Interface">Interface</A></H2>
<PRE>
  &amp;PrependText(@sdf)
</PRE>
<H3><A NAME="Description">12.5..1. Description</A></H3>
<P>The argument is the list of <A HREF="http://www.mincom.com/mtr/sdf/">SDF</A> paragraphs to prepend.</P>
<HR>
<H2><A NAME="Examples">Examples</A></H2>
<P>To prepend a line before each level 1 heading:</P>
<PRE>
  !on paragraph 'H1';; &amp;AppendText('Line:')
</PRE>
</DIV>
<DIV CLASS="footer">
<DIV CLASS="navigate">
<P ALIGN="Center"><A HREF="re_sdf.html">Contents</A> | <A HREF="in_sub.html">Parent Topic</A> | <A HREF="sformatt.html">Previous Topic</A> | <A HREF="in_var.html">Next Topic</A> <BR><A HREF="../index.html">Home</A> | <A HREF="../catalog.html">Catalog</A></P>
</DIV>
</DIV>

</BODY>
</HTML>