# austin(medic) :
Check the structure of where the variable is defined. If it's inside some commands or code blocks it might not be accessible outside of that code block or command. I had this problem a while back and was stuck scratching my head for a few days until I fixed it off dumb luck.
Thanks for the reply, but, there is no code blocks yet, is just codes line after line...
I've tried to place the "problematic" part into a single function, but it still failing when runs.
The fun thing, is that "diag_log" placed after all the code works just fine.
Somehow, just the function is not recognizing the variable.