head     1.3;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.3
date     91.03.19.16.29.09;  author kemnitz;  state Exp;
branches ;
next     1.2;

1.2
date     91.03.19.15.51.42;  author kemnitz;  state Exp;
branches ;
next     1.1;

1.1
date     91.03.19.00.24.35;  author kemnitz;  state Exp;
branches ;
next     ;


desc
@@


1.3
log
@Oops!  Jumbled around checkin rather massively!
@
text
@define rule example_1 is
on replace to emp.salary where current.name = "bill"
do replace emp (salary = new.salary) where emp.name = "sam"
\p
@


1.2
log
@demo shuffling
@
text
@d1 3
a3 2
define view toyemp (emp.name, emp.age, emp.location, annualsal = 12*emp.salary)
where emp.dept = "toy"
@


1.1
log
@Initial revision
@
text
@d1 2
a2 5
/* 
 * rules are actually used to implement complex objects.  Here
 * is the way manager(emp) is actually implemented
 */
addattr (manager = emp) to emp
@
