< Futurebasic < Language < Reference

#If

Statement

Syntax

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

Description

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

Notes

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

See Also

compile long if; #else; #endif

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.