Re: [xHarbour-developers] Compiler crash
Il 16/08/2016 18:29, Ron Pinkas ha scritto: >> I don't know if this is correct: >> >> #command TEST ; >> ; >> => MyTest( { || .and. .t. } ) >> >> #command TEST & ; >> ; >> => MyTest( &( "{ || " + + " .and. .t. }" ) ) >> >> >> FUNCTION MAIN() >> >>LOCAL cVar := ".T." >> >>TEST &cVar >> >>RETURN NIL >> >> Error E0047 Code block contains both macro and declared symbol references > > Yes, this IS a correct error. Right! The correct command should be TEST &( cVar ) EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG Music page: http://www.emagsoftware.it/emgmusic The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg -- ___ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Re: [xHarbour-developers] Compiler crash
Il 15/08/2016 23:07, Ron Pinkas ha scritto: > Should be fixed after: > > 2016-08-15 17:04 UTC-0400 Ron Pinkas I don't know if this is correct: #command TEST ; ; => MyTest( { || .and. .t. } ) #command TEST & ; ; => MyTest( &( "{ || " + + " .and. .t. }" ) ) FUNCTION MAIN() LOCAL cVar := ".T." TEST &cVar RETURN NIL Error E0047 Code block contains both macro and declared symbol references EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG Music page: http://www.emagsoftware.it/emgmusic The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg -- ___ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Re: [xHarbour-developers] Compiler crash
Il 15/08/2016 23:07, Ron Pinkas ha scritto: > Should be fixed after: > > 2016-08-15 17:04 UTC-0400 Ron Pinkas Thank you! :-) EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG Music page: http://www.emagsoftware.it/emgmusic The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg -- ___ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Re: [xHarbour-developers] Compiler crash
Should be fixed after: 2016-08-15 17:04 UTC-0400 Ron Pinkas > On Aug 15, 2016, at 5:02 AM, Enrico Maria Giordano > wrote: > > I don't remember if it has already been reported. The following code > > FUNCTION MAIN() > > LOCAL cVar > > ? { || &cVar .and. .T. } > > RETURN NIL > > crashes the compiler. Any ideas on where to look? > > EMG > > -- > EMAG Software Homepage: http://www.emagsoftware.it > The EMG Music page: http://www.emagsoftware.it/emgmusic > The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum > The Best of Spectrum Games: http://www.emagsoftware.it/tbosg > > -- > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. http://sdm.link/zohodev2dev > ___ > xHarbour-developers mailing list > xHarbour-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xharbour-developers -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev ___ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers
[xHarbour-developers] Compiler crash
I don't remember if it has already been reported. The following code FUNCTION MAIN() LOCAL cVar ? { || &cVar .and. .T. } RETURN NIL crashes the compiler. Any ideas on where to look? EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG Music page: http://www.emagsoftware.it/emgmusic The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev ___ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers