Looping construct inside a constraint

Can we have for loop construct inside a constraint ? I understand we can use foreach but I am not sure if we can use for.

In reply to o-hassan:
Constraints are not procedural statements - they are a set of simultaneous equations. The foreach construct is used as both a looping construct in procedural code and as an iterative constraint that gets unrolled until simultaneous constraints. SystemVerilog does not allow the for construct in a constrain, but you can think of foreach as a special case of the for construct.

In reply to o-hassan:

you cant use for loop in constraint. Use for loop in post randomize method.