Wiki
Version 1 (modified by Charles, 12 years ago)

--

If Directive

This does not describe an existing feature. It's place to jot down notes for my idea of an @if directive and related features.

Introduction

Conditional inclusion of source code is needed in some circumstances. Some of the better known ones are:

  • Adjusting for the back-end (CLR, JVM)
  • Demo vs. Production
  • Debug or not
  • Adjusting for compiler options (-include-tests, etc.)

See Also