Can someone explain why this duplicate of a name in the API is a problem? I thought explicitly declared LOCAL variable name duplicates were allowed.
#INCLUDE "WIN32API.INC"
FUNCTION MyFunction()
LOCAL WndClass AS WndClassEx
.
.
.
Error 466 ...(705:11): Duplicate name definition: WNDCLASS
Line 705: LOCAL wndclass AS WndClassEx
It compiled without error after changing "wndclass" to "MyWndClass"
#INCLUDE "WIN32API.INC"
FUNCTION MyFunction()
LOCAL WndClass AS WndClassEx
.
.
.
Error 466 ...(705:11): Duplicate name definition: WNDCLASS
Line 705: LOCAL wndclass AS WndClassEx
It compiled without error after changing "wndclass" to "MyWndClass"
Comment