John - Apologies for the slow reply. You are doing the right thing,
you just forgot an open
parenthesis before the quote -- a slot always takes a *list* of
values, not a single value:
KM> (a Sensor with
(outputs ((a Output called output0 with (type
(*Integer)))
(a Output called output1 with (type
(*Integer)))))
(rules ('((whenever (t) (output output0 3))
(whenever (t) (output output1 4))))))
(_Sensor2)
KM> (the rules of _Sensor2)
('((whenever (t) (output output0 3)) (whenever (t) (output output1
4))))
Best wishes, Pete