[thelist] writing out a multidimensional array as a TOC

Joel D Canfield joel at bizba6.com
Wed Aug 6 10:03:41 CDT 2008


> currentSection = ""
> loop ' i forget the exact syntax for vbscript
>    if currentSection <> aryTOC("secDesc") then
>       currentSection = aryTOC("secDesc")
>       response.write currentSection ' format as needed
>    end if
>    response.write aryTOC("chapDesc") ' format as needed
> end loop

that pointed me in the right direction:

    http://www.ccnb.info/ccnb/toc.asp

thanks, Matt

joel



More information about the thelist mailing list