Example 6: Dyadic OPERATOR on Relvar

This forum is for discussing the development of Rel examples and sample applications.
Chris Walton
Posts:76
Joined:Sat Aug 18, 2012 2:13 pm
Example 6: Dyadic OPERATOR on Relvar

Post by Chris Walton » Sat Jul 27, 2013 9:08 pm

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