Help Center
Help CenterFreeBASIC

Falsekeyword

Intrinsic constant set by the compiler

Intrinsic Defineskeyworddocumented

Syntax

Const False As Boolean

Description


Gives the False Boolean value where used.

Remarks

Version


  • Since fbc 1.04.0

Dialect Differences


  • Not available in the -lang qb dialect unless referenced with the alias __False.

Differences from QB


  • New to FreeBASIC

See also


Example


Dim b As Boolean = False

If b Then

    Print "b is True"

Else

    Print "b is False"

End If


b is False

Reference

  • Documented in KeyPgFalse.html