How to constraint variables with randc.(random-cyclic)?Am unable to get proper behavior of randc

In reply to dave_59:

thanks dave.

in my case i cant remove uvm_do macro.
if i need to create pkt_length list…i need to write 0,1,2,3,…255.
is it good to write like that…in constraint …?