Conditional Compile Directives_ #DEFINE , #IF...#THEN....#ELSE
Larry Sutherland
Posts: 77
Does any have example programs or more information how this works?
"In some programs where we may have several sections used for testing, or we need the ability to turn test code on and off, inserting a conditional compilation
block will facilitate the quick removal and restoration of test code. We can use #DEFINE to create a conditional constant" _Stamp Works
I've read BASIC Stamp Syntax and Reference Manual and tested code examples....
Not sure how to apply # DEFINE _ TestMode = 1 example from Stamp Works: EX06- Las_Vegas.BS2
"In some programs where we may have several sections used for testing, or we need the ability to turn test code on and off, inserting a conditional compilation
block will facilitate the quick removal and restoration of test code. We can use #DEFINE to create a conditional constant" _Stamp Works
I've read BASIC Stamp Syntax and Reference Manual and tested code examples....
Not sure how to apply # DEFINE _ TestMode = 1 example from Stamp Works: EX06- Las_Vegas.BS2