Expression on rhs is not a class or a compatible class and hence cannot be assigned to a class handle on lhs

In reply to ramankaur09:

Please show the sequencer class code.