Page 1 of 1

Changing Default File Extensions with DBFCDX

Posted: Thu Oct 15, 2009 8:40 am
by sudip
Hello Friends,

How can I change Default File Extensions with DBFCDX.

xHarbour has one function RDDINFO(). Which can be used as follows:

Code: Select all

  RddInfo( RDDI_MEMOEXT, ".a", "DBFCDX" )
  RddInfo( RDDI_ORDBAGEXT, ".b", "DBFCDX" )
  RddInfo( RDDI_TABLEEXT, ".c", "DBFCDX" )
But, I can't use it with HMG.

May be this is a harbour related query. But as Harbour user group is not as active as our HMGForum, I am asking this over here first.

Thanks in advance.

With best regards.

Sudip

Re: Changing Default File Extensions with DBFCDX

Posted: Sat Oct 17, 2009 11:56 am
by dhaine_adp
Hi Sudip,

Well I use to change the extension whenever I needed to - by specifying it this way.

e.g.:

PRIVATE dbSize := Home + "SIZE.D"
PRIVATE inSize := Home + "SIZE.I"

LOL! I'm sorry, I cannot offer a better suggestion. :)

Regards,

Danny

Re: Changing Default File Extensions with DBFCDX

Posted: Mon Oct 19, 2009 4:23 am
by sudip
Hi Danny,

Good suggestion! Again, I am searching for a better way :)

I posted this in Harbour User's Forum also https://sourceforge.net/apps/phpbb/harb ... p?f=3&t=20

Let's wait ...

With best regards.

Sudip