Futurebasic/Language/Reference/poundif

From Wikibooks, open books for an open world
Jump to navigation Jump to search

#If[edit | edit source]

Statement[edit | edit source]

Syntax[edit | edit source]

#if condition
  [statementBlock1]
[ #else
  [statementBlock2]]
#endif

Description[edit | edit source]

#if is a synonym for compile long if. If you use the #if statement, you must also use the #endif statement.

Notes[edit | edit source]

In FBtoC compile long if is not supported and #if is the only available syntax.

See Also[edit | edit source]

compile long if; #else; #endif