is there a way to do preprocessor directives or something like it in spin?
jhajduk
Posts: 5
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
right now im doing
if(DoDebug)
debug.str(string("foobar"))
but of course this is getting compiled wastefully
Comments
PreSpin: http://forums.parallax.com/showthread.php?p=655470
SCCuM: http://forums.parallax.com/showthread.php?p=654555
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.