USING std::randomize functio

In reply to samir singh:

Please answer my questions:

Why do you need both addr and addr1 variables?

Maybe you want

addr = $urandom_range(start_addr,end_addr);