Conditional code
mynet43
Posts: 644
Is there a command like #ifdef in C that allows conditional compilation of the spin code?
I have a test routine as well as a DAT block of test data in my program that I'd like to include only when I'm testing.
Thanks for your help.
Jim
I have a test routine as well as a DAT block of test data in my program that I'd like to include only when I'm testing.
Thanks for your help.
Jim
Comments
CON
debug = 1
...
if debug ...
there is no means for conditionally including data or objects.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.