[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: Re: Error Message with Weather Script
- Subject: RE: Re: Error Message with Weather Script
- From: steve.cooper@xxxx
- Date: Thu, 25 Mar 2004 09:32:00 +0000
I believe it's the standard error you get when you try and pass an instr
function a 0 as a start parameter.
Just had a quick look at the script and I think the fix may be to change
all the instr functions so that they do a text compare rather than a binary
compare as it looks like the site has changed some of it's html markers
from upper to lower case.
To do this just add a fourth parameter of 1 to each instr function
change s = InStr(s, Page, "<!-- WEATHER INFO -->")
to s = InStr(s, Page, "<!-- WEATHER INFO -->", 1)
I have tried this on a straight VBScript file (not in xplhal) and it
without the change I get an error, with the change it works fine. I'll
send tony a new version for his site.
S.
___________________________________________________________________________
The information contained in this message is confidential and may be
legally privileged. If you are not the intended recipient, please do not
read, copy or otherwise use it and do not disclose it to anyone else.
Please notify the sender of the delivery error and then delete the
message from your system.
Any views or opinions expressed in this email are those of the author only.
Communications will be monitored regularly to improve our service and for
security and regulatory purposes.
Thank you for your assistance.
___________________________________________________________________________
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|