<!DOCTYPE html>
<html>
<body>

<p>
以下示例構建了一個目錄。
</p>

<%
dim c
dim i
set nl=server.createobject("MSWC.Nextlink")
c = nl.GetListCount("text\links.txt")
i = 1
%>

<ul>
<%do while (i <= c) %>
<li><a href="<%=nl.GetNthURL("text\links.txt", i)%>">
<%=nl.GetNthDescription("text\links.txt", i)%></a>
<%
i = (i + 1)
迴圈
%>

</ul>
<p>
文字檔案包含頁面網址的列表
和連結描述。 它包含每頁文字的一行。 請注意,網址和
描述 必須 用TAB字元分隔。
</p>
<p>
<a href="text/links.txt"><img src="/images/btn_view_text.gif"></a>
</p>
</body>
</html>