#DEFINE for testing in parallel FIVEWIN - modharbour

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

#DEFINE for testing in parallel FIVEWIN - modharbour

Postby Otto » Sat May 02, 2020 8:03 am

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 3 guests