Re: SDL-News: Quoted operation name

Subject: Re: SDL-News: Quoted operation name
From: Rick Reed TSE (
Date: Mon Oct 08 2001 - 17:14:58 GMT

Become an SDL Forum Society member <>
The originator of this message is responsible for its content.
-----From Rick Reed TSE <> to sdlnews -----

Elangovan Angannan at wrote on 08/10/2001 14:48:

> What is the use of quoted operation name ["not", "or",
> "and",...]? Where it is used?

Dear Elangovan and others,

The infix operators ["not", "or", "and",...] can be used for user defined
operators in user defined data types as well as for the operators defined in
Annex D of Z.100.

In this case, the signature of the "and" infix operator in data type X would
be introduced by:

"and" ( X, X ) -> X;

When the operator is used in a expression it can be used as follows:

DCL x1, x2, x3 X;

x3 := x1 and x2;

This statement is exactly equivalent to the statement:

x3 := "and"(x1,x2);

The order of precedence of infix operators is defined by the SDL expression

Rick Reed -
Tel:+44 1455 55 96 55 Fax:+44 1455 55 96 58 Mob.:+44 7970 50 96 50

--End text from Rick Reed TSE <> to sdlnews --- For extra SDL Forum Society benefits join at <>

This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT