A variable is undefined if it has not been assigned a value.
A variable is undefined if it has not been assigned a value. Depending on the programming language used this might be an actual value or the variable gets assigned some default value like ""
(the empty String), 0
or NULL
or accessing the undefined variable might result in some kind of error condition.
Use this tag for questions about the behavior of undefined variables or when you see undefined values where you don't expect them.