Loops inside Function new in OVM

In reply to cgales:
You also move the declaration of ‘I’ as part of the for loop statement. Then it becomes a local variable to the for loop block.

for(int i=32'h20 ; i < 32'h60 ; i ++) begin