Re: errors in ex.err
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Oct 09, 2004
- 431 views
On Sat, 9 Oct 2004 12:44:01 -0500, Kat <gertie at visionsix.com> wrote: >but this one i don't see how i can detect in advance: Can I first knock one thing on the head: >}}} <eucode> > if length(href) and not equal(href,"") and Is that not tautology, testing the same thing twice? (which in itself is tautological ) Anyway, that off my chest. Can I secondly assume that the error message missing the actual line of the sub-expression is perhaps misleading, but not quite the point. <aside> To be fair, I've been flummoxed before by:
if equal(a[x..y],stuff) then <blah>..[p..q] end if
and been equally baffled that x and y *are* correct, before finally noticing that it is one of p or q that is wrong. These things happen. </aside> >Naturally, i am now testing to see if (length(href) > 5) . Am I right in guessing that what you really meant to say was that changing the test that way stops it crashing, but allows stuff like "/APxx" and "b.htm" pass by? Regards, Pete