Skip to content

TRUE


Intrinsic constant set by the compiler

Syntax

` Const True As Boolean

`

Description

Gives the True Boolean value where used.

Examples

start GeSHi

vb
Dim b As Boolean = True
If b Then
    Print "b is True"
Else
    Print "b is False"
End If

end GeSHi

b is True

Version

  • Since fbc 1.04.0

Dialect Differences

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

Differences from QB

  • New to FreeBASIC

See also

  • False
  • Boolean

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft