On Aug 31, 2007, at 9:37 PM, John McKernon wrote:
>> case 301 or 302 or 303 or 307
>
> Maybe this syntax has the compiler or'ing those four values
> together and if
> they produce a logical true then execute the following statement,
> instead of
> looking for httpstatus matching one of those four values?
>
> Just a guess...
If you add "is" and change the line to: "case is 301 or 302 or 303 or
307", which is what works for the current simple Boolean comparisons
now, it will object to it. Even adding a comma will do the same
thing. The fact than it misses the "or" error in a simple "case"
statement is a bug IMHO.
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|