Can class withing another class could be randomized?

In reply to dave_59:

Hi Dave,
thanks for your kind reply. Your reply works. But I’m confused here: what is the difference between this “~” and “!”? For one bit signal, I guess they should both work the same effect.

Regards