Shop OBEX P1 Docs P2 Docs Learn Events
is there a way to do preprocessor directives or something like it in spin? — Parallax Forums

is there a way to do preprocessor directives or something like it in spin?

jhajdukjhajduk Posts: 5
edited 2007-07-10 20:45 in Propeller 1
I want to not have debug code in release builds but i want to leave it in the source.

right now im doing

if(DoDebug)
debug.str(string("foobar"))

but of course this is getting compiled wastefully

Comments

Sign In or Register to comment.