Futurebasic/Language/Reference/poundif

#IfEdit

StatementEdit

SyntaxEdit

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

DescriptionEdit

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

NotesEdit

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

See AlsoEdit

compile long if; #else; #endif