The example below builds a table of contents.

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

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.

voir texte