in reply to Re^3: accessing variable vaule outside for loopin thread accessing variable vaule outside for loop