FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour defining a constant at compile time.
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
defining a constant at compile time.
Posted: Tue Sep 24, 2013 05:19 PM
Guys:

Using the buildx.bat command line, how can I define a constant at compile time. In old Clipper days it was like this:
Code (fw): Select all Collapse
Clipper MyPrg /dMYVAR


Thank you.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: defining a constant at compile time.
Posted: Tue Sep 24, 2013 08:25 PM

Gustavo,

buildx.bat MyPrg /dMYVAR

whatever you supply as second and third parameters will go directly to harbour.exe as second and third params

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Re: defining a constant at compile time.
Posted: Tue Sep 24, 2013 10:25 PM

Antonio:

Thank you. Worked like a swiss clock.

Continue the discussion