View Single Post
  #2   Spotlight this post!  
Unread 18-02-2010, 09:59
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Conditional "Compile" Question

LV has an equivalent of ifdef, called the conditional disable structure, and a special one for effectively commenting out code.

Those are relatively recent additions, and in fact LV also has constant folding, dead code elimination and other compiler optimizations which tend to eliminate code like you describe.

Greg McKaskle
Reply With Quote