Re: [xHarbour-developers] Strange compiler behavior using dot

2009-11-27 Thread Enrico Maria Giordano

-Messaggio Originale- 
Da: "Luiz Rafael Culik Guimaraes" 
A: "Enrico Maria Giordano" ; "xHarbour 
Developers Mailing List" 
Data invio: venerdì 27 novembre 2009 0.35
Oggetto: Re: [xHarbour-developers] Strange compiler behavior using dot


> Enrico
>
> not for xharbour, since . is the name space operator

Ok, thank you.

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 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] Strange compiler behavior using dot

2009-11-26 Thread Luiz Rafael Culik Guimaraes
Enrico

not for xharbour, since . is the name space operator

Regards
Luiz
- Original Message - 
From: "Enrico Maria Giordano" 
To: "Luiz Rafael Culik Guimaraes" ; "xHarbour 
Developers Mailing List" 
Sent: Thursday, November 26, 2009 6:08 AM
Subject: Re: [xHarbour-developers] Strange compiler behavior using dot



-Messaggio Originale- 
Da: "Enrico Maria Giordano" 
A: "Luiz Rafael Culik Guimaraes" ; "xHarbour
Developers Mailing List" 
Data invio: giovedì 26 novembre 2009 9.05
Oggetto: Re: [xHarbour-developers] Strange compiler behavior using dot

> FUNCTION MAIN()
>
> LOCAL cVar := ""
>
> cVar.Test()
>
> RETURN NIL

This is what I get using Harbour:

test.prg(5) Error E0030  Syntax error "syntax error at '.'"

that is a better error message, isn't it?

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


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus 
on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] Strange compiler behavior using dot

2009-11-26 Thread Enrico Maria Giordano

-Messaggio Originale- 
Da: "Enrico Maria Giordano" 
A: "Luiz Rafael Culik Guimaraes" ; "xHarbour 
Developers Mailing List" 
Data invio: giovedì 26 novembre 2009 9.05
Oggetto: Re: [xHarbour-developers] Strange compiler behavior using dot

> FUNCTION MAIN()
>
> LOCAL cVar := ""
>
> cVar.Test()
>
> RETURN NIL

This is what I get using Harbour:

test.prg(5) Error E0030  Syntax error "syntax error at '.'"

that is a better error message, isn't it?

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 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] Strange compiler behavior using dot

2009-11-26 Thread Enrico Maria Giordano

-Messaggio Originale- 
Da: "Luiz Rafael Culik Guimaraes" 
A: "Enrico Maria Giordano" ; "xHarbour 
Developers Mailing List" 
Data invio: mercoledì 25 novembre 2009 23.54
Oggetto: Re: [xHarbour-developers] Strange compiler behavior using dot


> > Error E2209 test.c 16: Unable to open include file 'OTEST.xns'
>
> Hi Enrico
>
> when using an dot, you are trying to reference an function on an name 
> space on left of the dot

The actual error was:

Error E2209 test.c 16: Unable to open include file 'CVAR.xns'

Are you saying that this error message is expected? Isn't it at least not 
clear and misleading?

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 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] Strange compiler behavior using dot

2009-11-25 Thread Luiz Rafael Culik Guimaraes
Hi Enrico

when using an dot, you are trying to reference an function on an name space 
on left of the dot

Regards
Luiz
- Original Message - 
From: "Enrico Maria Giordano" 
To: "xHarbour Developers Mailing List" 

Sent: Wednesday, November 25, 2009 1:01 PM
Subject: [xHarbour-developers] Strange compiler behavior using dot


> Compiling the following (uncorrect) sample:
>
> FUNCTION MAIN()
>
>LOCAL cVar := ""
>
>cVar.Test()
>
>RETURN NIL
>
> I get:
>
> Error E2209 test.c 16: Unable to open include file 'OTEST.xns'
>
> What does it mean?
>
> 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
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus 
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers