On 2013-08-12 17:49, JS wrote: > Sorry but this doesn't work. b is a B, not an A. > > try > > I a = new A; > I b = new B; Right, forgot about the interface. -- /Jacob Carlborg