-----Messaggio Originale----- 
Da: "Ron Pinkas" <[EMAIL PROTECTED]>
A: "Enrico Maria Giordano" <[EMAIL PROTECTED]>
Cc: "Xharbour-Developers" <[email protected]>
Data invio: martedì 10 giugno 2008 0.35
Oggetto: Re: [xHarbour-developers] Strange warning


> After:
>
>     2008-06-09 17:53 UTC-0430 Ron Pinkas <ron/at/xharbour.com>
>
> You should get same warning as with Clipper

Clipper:

Error C2017  Duplicate variable declaration: 'TEST'

xHarbour:

Error E0003  Duplicate variable declaration: 'TEST'
Warning W0003  Variable: 'TEST' declared but not used in function: 'MAIN(8)'

Sample:

FUNCTION MAIN()

    IF .T.
        PRIVATE Test

        Test = 1
    ELSE
        PRIVATE Test

        Test = 2
    ENDIF

    INKEY( 0 )

    RETURN NIL

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to