variable string is wiped when starting a new function

Printable View