﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
4107	Au3 help file build tools has a small link error	donnyh13		"While perusing the AutoIt help file build tools, I found the following issue(s) when adding links to the examples.
in the file **SciTELib.au3** the following lines are found: at lines 62-64

{{{#!autoit lineno=62 marks=63,64
; Exception for UDPStartup(), UDPShutdown()
$sData = StringReplace($sData, '<a class=""codeSnippetLink"" href=""UDPStartup.htm""><span class=""S4"">UDPStartup</span></a>', '<a class=""codeSnippetLink"" href=""TCPStartup.htm""><span class=""S4"">UDPStartup</span></a>')
$sData = StringReplace($sData, '<a class=""codeSnippetLink"" href=""UDPShutdown.htm""><span class=""S4"">UDPShutdown</span></a>', '<a class=""codeSnippetLink"" href=""TCPShutdown.htm""><span class=""S4"">UDPShutdown</span></a>')
}}}

The issue is this bit in the find portion, ""href=""UDPStartup.htm"" has no path prefixing it, so is never found because just above all built-in functions just had the path ""../functions/"" added to them. Therefore any UDPStartup/UDPShutdown functions in examples lead to a wrong page (404). (See TCPStartup help page, example 2). I think the following would be correct:
{{{#!autoit lineno=62 marks=63,64
; Exception for UDPStartup(), UDPShutdown()
$sData = StringReplace($sData, '<a class=""codeSnippetLink"" href=""../functions/UDPStartup.htm""><span class=""S4"">UDPStartup</span></a>', '<a class=""codeSnippetLink"" href=""../functions/TCPStartup.htm""><span class=""S4"">UDPStartup</span></a>')
$sData = StringReplace($sData, '<a class=""codeSnippetLink"" href=""../functions/UDPShutdown.htm""><span class=""S4"">UDPShutdown</span></a>', '<a class=""codeSnippetLink"" href=""../functions/TCPShutdown.htm""><span class=""S4"">UDPShutdown</span></a>')
}}}

As a minor typo correction, on line **17** this line is duplicated:
{{{#!autoit lineno=17
#include <StringConstants.au3>                  ; $STR_REGEXPARRAYGLOBALMATCH
}}}

Thank you.
"	Bug	new		Documentation	3.3.18.0	None			
