Difference between revisions of "G11ntest/Documentation/BASIC Guide/Boolean"
From Apache OpenOffice Wiki
(Created page with '{{DISPLAYTITLE:Boolean Variables}} {{文档//v2 | | |/Basic Guide/数字 |/Basic Guide/日期 | }} 布尔变量只能含有以下两个值: <tt>True</tt> 或 <tt>False</tt>…') |
|||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE: | + | {{DISPLAYTITLE:布尔变量}} |
− | + | {{Documentation/BASICGuideTOC/v2 | |
− | {{ | + | |ShowPrevNext=block |
− | | | + | |ShowPrevPage=block |
− | | | + | |PrevPage=Documentation/BASIC Guide/Numbers |
− | |/ | + | |NextPage=Documentation/BASIC Guide/Date |
− | |/ | + | |lang=block |
− | | | + | |
}} | }} | ||
− | + | <tt>True</tt><tt>False</tt>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. <tt>As Boolean</tt> | |
− | + | Example declaration of a Boolean variable: | |
− | + | <source lang="oobas"> | |
− | Dim | + | Dim Variable As Boolean |
− | </source> | + | </source> |
− | {{InterWiki Languages BasicGuide|articletitle= | + | {{InterWiki Languages BasicGuide|articletitle=}} |
+ | {{PDL1}} | ||
− | + | [[Category:G11n Wiki Translation]] |
Latest revision as of 14:45, 21 October 2009
TrueFalseThey 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. As Boolean
Example declaration of a Boolean variable:
Dim Variable As Boolean
Content on this page is licensed under the Public Documentation License (PDL). |