Programming systems for automatic control of sequence of operations