Like a loop within a loop, in programming (6)
I believe the answer is:
nested
(Other definitions for nested that I've seen before include "Inhabited an egg-laying place" , "intricate arrangement" , "Settled in comfortably, snuggled up" , "Built accommodation in a tree" , "Settled in comfortably like bird" .)