Example 6: Dyadic OPERATOR on Relvar

This forum is for discussing the development of Rel examples and sample applications.
Post Reply
Chris Walton
Posts: 76
Joined: Sat Aug 18, 2012 2:13 pm

Example 6: Dyadic OPERATOR on Relvar

Post by Chris Walton »

Dyadic OPERATOR on Relvar

Code: Select all

OPERATOR equals ( P TUPLE { name data_type } , Q TUPLE { name data_type} ) RETURNS boolean ;
  if P = Q then return true;
  else return false; 
  end if ;
END OPERATOR ;
Post Reply