Enrico,

I'm not able to replicate.

[I suspect in your program you might have a MEMVAR declaration before  
the main function, and you maybe forgot to use -N switch.]

Ron

On Jun 6, 2008, at 7:37 AM, Enrico Maria Giordano wrote:

> Why the following sample:
>
> FUNCTION MAIN()
>
>     IF .T.
>         PRIVATE Test
>
>         Test = 1
>     ELSE
>         PRIVATE Test
>
>         Test = 2
>     ENDIF
>
>     RETURN NIL
>
> gives this warning:
>
> Warning W0003  Variable: 'TEST' declared but not used in function:  
> 'MAIN(8)'
>
> ?
>
> 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
>
>
> ---------------------------------------------------------------------- 
> ---
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
>



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to