TRUE
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgTrue
- Last revised: 2021-10-11
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 Ifend GeSHi
b is TrueVersion
- 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
FalseBoolean
Back to DocToc