i thought it was different in .net where the variable was destroyed once it's container finished, for..loop, if..then, procedure... guess not. thanks though