Skip to content

Fb Option Dynamic

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Intrinsic Defines › FB_OPTION_DYNAMIC

FB_OPTION_DYNAMIC

Intrinsic define (macro value) set by the compiler

Syntax

__FB_OPTION_DYNAMIC__

Description

__FB_OPTION_DYNAMIC__ is defined as true (negative one (-1)) if a recent Option Dynamic statement or '$Dynamic meta-command was issued. Otherwise, it is defined as zero (0).

Remarks

Differences from QB

  • New to FreeBASIC

See also

Examples

#if __FB_OPTION_DYNAMIC__ <> 0

#error This module must Not use Option Dynamic

#endif

Category: Intrinsic Defines
Kind: keyword


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally