<html>
<body>
<p>
The example below builds a table of contents.
</p>
<FONT COLOR=#ff0000><%
dim c
dim i
set nl=server.createobject("MSWC.Nextlink")
c = nl.GetListCount("textlinks.txt")
i = 1
%></FONT>
<ul>
<FONT COLOR=#ff0000><%do while (i <= c) %></FONT>
<li><a href="<FONT COLOR=#ff0000><%=nl.GetNthURL("textlinks.txt", i)%></FONT>">
<FONT COLOR=#ff0000><%=nl.GetNthDescription("textlinks.txt", i)%></FONT></a>
<FONT COLOR=#ff0000><%
i = (i + 1)
loop
%></FONT>
</ul>
<p>
The text file contains a list of page urls
and link descriptions. It contains one line of text for each page. Note that the url and
description MUST be separated by the TAB character.
</p>
<p>
<a href="text/links.txt"><img src="/images/btn_view_text.gif"></a>
</p>
</body>
</html>