LISTSERV mailing list manager LISTSERV 16.0

Help for ZNG Archives


ZNG Archives

ZNG Archives


[email protected]


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Monospaced Font

LISTSERV Archives

LISTSERV Archives

ZNG Home

ZNG Home

ZNG  May 2002

ZNG May 2002

Subject:

Re: bath, cql, etc.

From:

Alan Kent <[log in to unmask]>

Reply-To:

Z39.50 Next-Generation Initiative

Date:

Thu, 23 May 2002 10:46:05 +1000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (29 lines)

On Wed, May 22, 2002 at 03:40:34PM -0400, Ray Denenberg wrote:
> "LeVan,Ralph" wrote:
>
> > I'm not sure what the parens around the index+term does. I haven't noticed
> > any claims of ambiguity there.
>
> Someone (Alan, I think) mentioned the possibility of including "and" in the
> term. The quotes around the term might be enough, though.

Yes, quotes are enough.

Also CCL has parenthesis already (and it is useful), but it was designed
to change operator precedence, not release reserved words.

    (title=me and) or (title=mine)

is a syntax error because "and" is a resrved word.

> But in addition, though nobody mentioned it, what's the implied precedence in
> a query like "a OR b AND c"?

I think its a matter of definition. ISO8777 says left to right binding,
which is contradictory to every other definition of AND and OR I have
ever seen. Maybe its just my programming background, but I normally
think of AND being tighter binding than OR, and if you don't like it,
use parenthesis.

Alan

Top of Message | Previous Page | Permalink

Advanced Options


Options

Error during command authentication.

Error - unable to initiate communication with LISTSERV (errno=111). The server is probably not started.

Log In

Log In

Get Password

Get Password


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

ATOM RSS1 RSS2



LISTSERV.LOC.GOV

CataList Email List Search Powered by the LISTSERV Email List Manager