Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Robin_Message
· 6y ago · 0 comments
I've done something similar in C type languages to switch between blocks of code:
/*/ This block is inactive /*/ This block is active /**/
Just swap the first star to two stars to flip between them.
Comments
[–]
ncmncm
6y ago
That is what #ifdef, or #if 0, is for.