[Harbour] #xtranslate equivilant in C

Pritpal Bedi bedipritpal at hotmail.com
Wed Dec 3 16:10:40 EST 2008


Hello All

In PRG code I can control the debug info like this:

#ifndef __DBG_TB__
#   xtranslate hb_ToOutDebug( [<x,...>] ) =>
#endif

Is there any equivalent to this feature in C?

My goal is to replace  

#ifdef __SOME__ 
hb_ToOutDebug(...) } 
#endif 

with 
hb_ToOutDebug(...) } 

and the #define stays at the top of the file.

Regards
Pritpal Bedi


-- 
View this message in context: http://www.nabble.com/-xtranslate-equivilant-in-C-tp20821748p20821748.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.



More information about the Harbour mailing list