Probably I already reported this in the past but I can't remember the
answer, sorry.
Please compile the following sample:
FUNCTION MAIN()
? TEST()
INKEY( 0 )
RETURN NIL
STATIC FUNCTION TEST()
LOCAL nVar := 1
LOCAL lVar := .T.
BEGIN SEQUENCE
IF lVar
nVar = 2
BREAK
ENDIF
nVar = 3
END SEQUENCE
RETURN nVar
I get:
test.prg(26) Warning W0032 Variable 'NVAR' is assigned but not used in
function 'TEST(18)'
Why? It seems that the compiler ignores the BREAK when it search for the
warnings.
EMG
--
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers