Please look at the following sample:

FUNCTION MAIN()

   LOCAL bTest := { | Param | MyFunc() }

   RETURN NIL


STATIC FUNCTION MYFUNC()

   RETURN NIL

The compiler shows this warning if /w2 or /w3 are used:

Warning W0004 Codeblock parameter: 'PARAM' declared but not used in function: 'MAIN'

Is it expected? I think it is common to not reference all the codeblock parameters.

EMG

--
EMAG Software Homepage:     http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to