Futurebasic/Language/Reference/poundif

From Wikibooks, open books for an open world
< Futurebasic | Language | Reference
Jump to: navigation, search

Contents

[edit] #If

[edit] Statement

[edit] Syntax

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

[edit] Description

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

[edit] Notes

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

[edit] See Also

compile long if; #else; #endif

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export