Boolean Variables

From Wiki
Revision as of 09:00, 30 March 2012 by Sancho (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Boolean variables can only contain one of two values: True or False. They are suitable for binary specifications that can only adopt one of two statuses. A Boolean value is saved internally as a two-byte integer value, where 0 corresponds to the False and any other value to True. There is no type declaration symbol for Boolean variables. The declaration can only be made using the supplement As Boolean.

Example declaration of a Boolean variable:

 Dim Variable As Boolean

fr:FR/Documentation/BASIC Guide/Boolean hu:HU/Documentation/BASIC Guide/Boolean it:IT/Documentation/BASIC Guide/Boolean ja:JA/Documentation/BASIC Guide/Boolean zh:ZH/Documentation/BASIC Guide/Boolean


Content on this page is licensed under the Public Documentation License (PDL).