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

2009-11-26 Thread Enrico Maria Giordano

-Messaggio Originale- 
Da: Luiz Rafael Culik Guimaraes l...@xharbour.com.br
A: Enrico Maria Giordano e.m.giord...@emagsoftware.it; xHarbour 
Developers Mailing List xharbour-developers@lists.sourceforge.net
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


[xHarbour-developers] RegExpression to Find Variables

2009-11-26 Thread luiz
Hi

Does any one know an good reg expression to locate variables

I´ve  come to this bellow, but o need to specify the size to found
(^[vV])[A-Za-z0-9]{3}

Regards
Luiz


--
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


[xHarbour-developers] RDD: ADT - ADSADT

2009-11-26 Thread Mindaugas Kavaliauskas
Hi,


current ADS RDD is registered using names: ADS, ADT, ADSCDX, ADSNTX, 
ADSVFP. RDD SYSNAME method (i.e., RDDNAME()) can return one of the 
following values: ADSADT, ADSCDX, ADSNTX, ADSVFP. Original C level ADS 
defines for different database types are: ADS_CDX, ADS_NTX, ADS_VFP, 
ADT_ADT.

I propose to rename RDD from ADT to ADSADT, thus making both correct 
RDDNAME() return value and to be compatible with naming scheme of 
another ADS RDDs. Any objections?


Regards,
Mindaugas

--
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] RDD: ADT - ADSADT

2009-11-26 Thread Mindaugas Kavaliauskas
Mindaugas Kavaliauskas wrote:
 current ADS RDD is registered using names: ADS, ADT, ADSCDX, ADSNTX, 
 ...

Sorry, wrong mailing list.


Regards,
Mindaugas

--
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] RDD: ADT - ADSADT

2009-11-26 Thread bhays
Mindaugas:

I'm not sure why you're making the suggestion.
Right now, the original ADS is an all-inclusive rdd that lets
you switch the file type to cdx, ntx, etc. in different workareas.

The addition of specific sub-rdds of ADSCDX etc. came years later.

I, and I imagine a lot of other people who started using rddads
early on, never had a need to explicitly use those other rdds by name.

Are you suggesting that we should now have to re-write our apps by
converting ADS to ADSADT?  But wait: IIRC (I'm not sure), 
ADSCDX is the DEFAULT for ADS, so converting it to ADT doesn't 
really make sense, does it?

If you're suggesting a change that would require people to change
code that's been growing for 9 years, there needs to be a stronger
reason to force the change than just compatibility with other rdds,
IMHO.

Or am I missing something?

--
Brian Hays


 -Original Message-
 From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt]
 Sent: Thursday, November 26, 2009 4:55 PM
 To: Xharbour-Developers List
 Subject: [xHarbour-developers] RDD: ADT - ADSADT
 
 Hi,
 
 
 current ADS RDD is registered using names: ADS, ADT, ADSCDX, ADSNTX,
 ADSVFP. RDD SYSNAME method (i.e., RDDNAME()) can return one of the
 following values: ADSADT, ADSCDX, ADSNTX, ADSVFP. Original C level ADS
 defines for different database types are: ADS_CDX, ADS_NTX, ADS_VFP,
 ADT_ADT.
 
 I propose to rename RDD from ADT to ADSADT, thus making both correct
 RDDNAME() return value and to be compatible with naming scheme of
 another ADS RDDs. Any objections?
 
 
 Regards,
 Mindaugas
 
 ---
 ---
 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
 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.5.426 / Virus Database: 270.14.67/2506 - Release Date:
 11/26/09 09:10:00


--
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] RDD: ADT - ADSADT

2009-11-26 Thread bhays
Mindaugas:

If you intended it for the Harbour project, please keep this xHarbour group
and/or me in the conversation.  I have continued to work with Viktor
and Przemek to keep rddads coordinated as much as possible in both projects.

It may be worthwhile to forward my concerns to the other project too,
or please inform me if I'm incorrect on any points.

Thanks,

--
Brian Hays


 -Original Message-
 From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt]
 Sent: Thursday, November 26, 2009 6:29 PM
 To: Xharbour-Developers List
 Subject: Re: [xHarbour-developers] RDD: ADT - ADSADT
 
 Mindaugas Kavaliauskas wrote:
  current ADS RDD is registered using names: ADS, ADT, ADSCDX, ADSNTX,
  ...
 
 Sorry, wrong mailing list.
 
 
 Regards,
 Mindaugas
 
 ---
 ---
 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
 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.5.426 / Virus Database: 270.14.67/2506 - Release Date:
 11/26/09 09:10:00


--
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] RDD: ADT - ADSADT

2009-11-26 Thread Mindaugas Kavaliauskas
Hi,


bhays wrote:
 I'm not sure why you're making the suggestion.
 Right now, the original ADS is an all-inclusive rdd that lets
 you switch the file type to cdx, ntx, etc. in different workareas.
 
 The addition of specific sub-rdds of ADSCDX etc. came years later.
 
 I, and I imagine a lot of other people who started using rddads
 early on, never had a need to explicitly use those other rdds by name.
 
 Are you suggesting that we should now have to re-write our apps by
 converting ADS to ADSADT? 

No, I want to make you convert from:
   RDDSETDEFAULT(ADT)
to
   RDDSETDEFAULT(ADSADT)

I'm also talking about Harbour code, not sure that names has xHarbour's
ADS RDD. But, it is not nice to have:
   DBUSEAREA(.T., ADT, ...)
   ? RDDNAME() // prints ADSADT, not ADT!

So, my suggestion is to convert ADT to ADSADT.

ADS RDD remains unchanged.


Regards,
Mindaugas



--
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