The GenerateURLTable function is used to take a prepared file and generate a table. Each line of the file contains fields separated by tabs. Each field may contain items which are expanded in the following ways:

To use this, you first must have the generateurltable.lc file in the current directory or in a directory which Webc searches. Then in your *.wc file, use the line:

    #localcode generateurltable.lc

You can optionally define the way your table looks by defining the appropriate variable:

    #define _TABLE-PARAMS_ border=2

Finally, in the place that you want the table to occur, you need to call the function:

    #call GenerateURLTable filename

You can examine the sample data file for this example, and the way it looks here:

Webc http://www.ao.com/~regan/Webc/ A web preprocessor
mkphotodir http://mordred.ao.com/mkphotodir/ A way to organize images
flower

Empty lines, and lines starting with # are ignored. Fields are separated by one or more tabs.

If you have questions, stare hard at the examples and the code. Your answer should appear before your eyes.