Changing Default File Extensions with DBFCDX

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Changing Default File Extensions with DBFCDX

Post 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
With best regards,
Sudip
User avatar
dhaine_adp
Posts: 457
Joined: Wed Aug 06, 2008 12:22 pm
Location: Manila, Philippines

Re: Changing Default File Extensions with DBFCDX

Post 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
Regards,

Danny
Manila, Philippines
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Changing Default File Extensions with DBFCDX

Post 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
With best regards,
Sudip
Post Reply