Well, I don't know how "clever" it is, it just uses signal on syntax:


Thanks Chip, it's more or less identical to the solution I've implemented.

Staffan