How to access a variable outside of a function (access from a loop)

join shbcf.ru