Difference between revisions of "G11ntest/MediaWiki source Documentation BASIC/Documentation/BASIC Guide/Boolean"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Created page with '{{DISPLAYTITLE:Boolean Variables}} {{Documentation/BASICGuideTOC/v2 |ShowPrevNext=block |ShowPrevPage=block |PrevPage=Documentation/BASIC Guide/Numbers |NextPage=Documentation/B…')
 
 
Line 1: Line 1:
 
{{DISPLAYTITLE:Boolean Variables}}
 
{{DISPLAYTITLE:Boolean Variables}}
  
{{Documentation/BASICGuideTOC/v2
+
{{g11ntest/Documentation/BASICGuideTOC/v2
 
|ShowPrevNext=block
 
|ShowPrevNext=block
 
|ShowPrevPage=block
 
|ShowPrevPage=block

Latest revision as of 19:22, 8 September 2009


doc OOo
Book.png

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


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