Page 1 of 1

#DEFINE for testing in parallel FIVEWIN - modharbour

Posted: Sat May 02, 2020 8:03 am
by Otto
I use #define MODHARBOUR to create an offline version for development and testing in parallel

sample

#ifdef MODHARBOUR
use ( hb_GetEnv( "PRGPATH" ) + "\data\tagging.DBF" ) new
#else
use ( ".\data\tagging.DBF" ) new
#endif


#ifdef MODHARBOUR
TEMPLATE
ENDTEXT
#else
xbrowse()
#endif