<html>
<body>
<p><b><font face="Verdana" size="2">New Features</font></b><br>
<font face="Verdana" size="2">
� supports both HTML and ASP in the same page.<br>
� handles standard include files.<br>
� encapsulated into class for speed and robustness.
</font></p>
<p><b><font face="Verdana" size="2">Purpose</font></b><br>
<font face="Verdana" size="2">I, as like most ASP developers have wanted the
ability to dynamically include script files. If dynamic includes were possible
we would be able to increase performance if existing code, add files based upon
a variable value and even change the structure of page creation. The
possibilities are enormous.</font></p>
<p><b><font face="Verdana" size="2">Basics</font></b><br>
<font face="Verdana" size="2">The function is actually very simple. It reads
the passed file using the filesystem object. Then it removes the surrounding ASP
delimiters "<% ... %>". This allows us to re-use existing files. The files
contents are then passed through the vbscript method "ExecuteGlobal". This will
stick the content into the current process and give us access to it. Below is an
example of how to include a file.</font></p>
<p><!--#include file="include.asp"--><br>
<font face="Verdana" size="2"><%</font><br>
<font face="Verdana" size="2"> include "file1.asp"</font><br>
<font face="Verdana" size="2"> output "procedure test"</font><br>
<font face="Verdana" size="2">%></font></p>
<p><b><font face="Verdana" size="2">Limitation</font></b><br>
<font face="Verdana" size="2">This class will not support vbscript statements like "Option Explicit" or "<%@ ... %>".</font></p>
<p><b><font face="Verdana" size="2">Conclusion</font></b><br>
<font face="Verdana" size="2">I really hope that you find this as useful as I
have. I would appreciate any comments or suggestions for future
version to increase performance and robustness. I would also appreciate you
votes.</font></p>
<p><b><font face="Verdana" size="2">Future</font></b><br>
<font face="Verdana" size="2">Stay tuned for version 3. Implementing an entire website from a database.</font></p>
</body>
</html>