Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The error message "not defined" for a global variable that was declared in a different function means that the variable is not accessible in the current function because it has not been defined or initialized in that function. It could be due to a scope issue where the variable is outside the current scope or a syntax issue such as a typo in the variable name.