-----Messaggio Originale----- Da: "Szakáts Viktor" <[EMAIL PROTECTED]>
A: "Harbour Project Main Developer List." <[email protected]>
Data invio: giovedì 6 novembre 2008 9.37
Oggetto: Re: [Harbour] .prg #if issue?


Hi Enrico,

It doesn't work also. The problem
is not with the .AND. as it seems, but
rather that >= will just fail if the
macro doesn't exist.

And why not

FUNCTION MAIN()

   #if defined(HELLO)
       IF HELLO >= 0x0100
           ? HELLO
       ENDIF
   #endif

   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
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to