<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN"> <html> <head> <title>MHonArc Resources: USINGLASTPG</title> </head> <body> <address> <a href="../resources.html#usinglastpg">MHonArc Resource List</a> </address> <hr> <h1>USINGLASTPG</h1> <!-- *************************************************************** --> <h2>Syntax</h2> <dl> <dt><strong>Envariable</strong><dt> <dd><p> <code>M2H_USINGLASTPG=</code> [ <code>0</code> | <code>1</code> ] </p> </dd> <dt><strong>Element(s)</strong><dt> <dd><p><br> <code><USINGLASTPG></code><br> <code><NOUSINGLASTPG></code><br> </p> </dd> <dt><strong>Command-line Option(s)</strong><dt> <dd><p>N/A </p> </dd> </dl> <!-- *************************************************************** --> <h2>Description</h2> <p>USINGLASTPG is a boolean resource to tell MHonArc if the <b>$LASTPG$</b> resource variable is in use. </p> <p>The usage of this resource is only applicable if <a href="multipg.html">MULTIPG</a> is set. By default, MHonArc will regenerate all pages of a multi-page index if a new page gets added to the archive. This is done to insure that any links to the last page of the index (via $PG(LAST)$) gets updated. </p> <p>If you want to save processing time, and you know you are not using <b>$LASTPG$</b> in any resource (or have a helper CGI program to link to the last page), set USINGLASTPG to 0. Any new page added will only cause the new page and previous page to be written/updated, assuming that added messages always appear at the end of message listings. MHonArc will still update relevant index pages if message listing order dictates such an action. </p> <!-- *************************************************************** --> <h2>Default Setting</h2> <p>1 </p> <!-- *************************************************************** --> <h2>Resource Variables</h2> <p>N/A </p> <!-- *************************************************************** --> <h2>Examples</h2> <p>None. </p> <!-- *************************************************************** --> <h2>Version</h2> <p>2.1.2 </p> <!-- *************************************************************** --> <h2>See Also</h2> <p><a href="multipg.html">MULTIPG</a> </p> <!-- *************************************************************** --> <hr> <address> 00/10/28 11:13:13<br> <img align="top" src="../monicon.gif" alt=""> <a href="http://www.pobox.com/~ehood/mhonarc.html" ><strong>MHonArc</strong></a><br> Copyright © 1998, <a href="http://www.pobox.com/~ehood/" >Earl Hood</a>, <a href="mailto:mhonarc@pobox.com" >mhonarc@pobox.com</a><br> </address> </body> </html>