FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour does FiveWin have a Constant like __XPP__
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
does FiveWin have a Constant like __XPP__
Posted: Mon Jul 18, 2022 11:36 PM
hi,

under Xbase++ i can use
Code (fw): Select all Collapse
#IFDEF __XPP__

with MiniGUI Extended
Code (fw): Select all Collapse
#IFDEF __HMG__

so what can i use for FiveWin to identify Code to use :-)
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: does FiveWin have a Constant like __XPP__
Posted: Tue Jul 19, 2022 05:17 AM

Dear Jimmy,

If you review FiveWin.ch you will see that we declare some constants that you can use:

_FIVEWIN_CH
FWCOPYRIGHT
FWVERSION
FW_VersionNo
FWDESCRIPTION

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: does FiveWin have a Constant like __XPP__
Posted: Tue Jul 19, 2022 06:33 AM
hi Antonio,
Antonio Linares wrote:If you review FiveWin.ch you will see that we declare some constants that you can use:
_FIVEWIN_CH
FWCOPYRIGHT
FWVERSION
FW_VersionNo
FWDESCRIPTION

Ok, i will use "_FIVEWIN_CH" to use FiveWin Code, Thx

btw. i saw a lot of __XPP__

does it mean i can use FiveWin with Xbase++ Source Code :-)
"That" is what i want to learn to switch from Xbase++ to harbour FiveWin
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: does FiveWin have a Constant like __XPP__
Posted: Tue Jul 19, 2022 09:51 AM

FiveWin was fully xBase++ compatible for many years, but finally there were no xBase++ users... except you :-D

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion