Acces a variable in the library

you need to post the changes, the complete code