Shop OBEX P1 Docs P2 Docs Learn Events
Conditional Compile Directives_ #DEFINE , #IF...#THEN....#ELSE — Parallax Forums

Conditional Compile Directives_ #DEFINE , #IF...#THEN....#ELSE

Larry SutherlandLarry Sutherland Posts: 77
edited 2012-09-12 11:39 in General Discussion
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
Sign In or Register to comment.