Script error with the updated animated weather DX2 object.
Thursday, November 13, 2003 by pyrogator | Discussion: Stardock Software
on line 129. Below is the portion of the script in question, and line 129 is:
xmlstripper = Mid(string, datastart, datalength)
Now, its been a while since i have done any programming, but it seems to me the error has to do with a discrepancy between the function declaration and the statement calling the function. It is declared with 2 variables, and the statement calling it has 3. I do not know anything about XML so am not sure if this is the cause or not. Anyone else gotten this error?
-------copied and pasted from the script-------
Function xmlstripper(param, string)
'msgbox "Param: " & param & " string: " & string
' Find the xml tag start in the string
datastart = InStr(string, param) + Len(param)
' find how long it is based on the closing tag
datalength = Instr(string, "" & Right(param, Len(param) - 1)) - datastart
' strip out the data to return
xmlstripper = Mid(string, datastart, datalength)
End Function
Reply #2 Sunday, November 16, 2003 5:15 AM
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Friday, November 14, 2003 10:39 AM