I never got it before but since today I have while compiling the following :
"error 0004 local declaration follows executable statement"
the function begins as follows
FUNCTION X (olbx)
local odlg
local noldrec
.....
I never got it before but since today I have while compiling the following :
"error 0004 local declaration follows executable statement"
the function begins as follows
FUNCTION X (olbx)
local odlg
local noldrec
.....
Check above the function declaration. You probably have some unclosed structure before FUNCTION X. (missing endif ...)
I think you may have a local statement further down in your code. All locals have to be declared before any executable lines.