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
.....
error 0004 local declaration...
Re: error 0004 local declaration...
Check above the function declaration. You probably have some unclosed structure before FUNCTION X. (missing endif ...)
Regards,
André Dutheil
FWH 13.04 HB 3.2 BCC 5.82 MinGW 4.5.2 MSVS 10
André Dutheil
FWH 13.04 HB 3.2 BCC 5.82 MinGW 4.5.2 MSVS 10
Re: error 0004 local declaration...
I think you may have a local statement further down in your code. All locals have to be declared before any executable lines.