Oh, thanks Lonk... ASCAN() needs perfect array matches, not partial... guess the manual could be a bit more precies there than "Searches an array for an element containing the same value as an expression.". [Wink]

But there's still a need for an array for the "alternative" codes (last in some of the array entries above).

Ok Richard, thanks [Smile] The HTML in this case is the returned page from another function, that Lonkero wrote:
code:
; Loads a webpage into a variable
Function GetPage($URL)
DIM $htmldata
$htmldata = CreateObject("microsoft.XMLhttp")
$htmldata.open("GET",$URL,not 1)
$htmldata.send
$getpage=$htmldata.responsetext ;or responsebody
EndFunction

So I guess what you're saying is that I should use Lonkero's CHR() based conversion for numeric format entries (with SETASCII("ON") in KiX), and an array for the Name format codes?


[ 09. June 2003, 17:30: Message edited by: masken ]
_________________________
The tart is out there