Futurebasic/Language/Reference/poundif

Statement

edit

Syntax

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

Description

edit

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

Notes

edit

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

See Also

edit

compile long if; #else; #endif