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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Created page with '{{DISPLAYTITLE:Boolean Variables}} {{文档//v2 | | |/Basic Guide/数字 |/Basic Guide/日期 | }} 布尔变量只能含有以下两个值: <tt>True</tt> 或 <tt>False</tt>…')
 
 
Line 1: Line 1:
{{DISPLAYTITLE:Boolean Variables}}
+
{{DISPLAYTITLE:布尔变量}}
 
+
{{Documentation/BASICGuideTOC/v2
{{文档//v2  
+
|ShowPrevNext=block
|
+
|ShowPrevPage=block
|
+
|PrevPage=Documentation/BASIC Guide/Numbers
|/Basic Guide/数字
+
|NextPage=Documentation/BASIC Guide/Date
|/Basic Guide/日期
+
|lang=block
|
+
 
}}
 
}}
 
   
 
   
布尔变量只能含有以下两个值: <tt>True</tt> <tt>False</tt>。 它们适合于二进制定只能采用以下两种状态。 布尔值被内部存盘为两字节整数值,其中,0对应于False,而任何其他值对应于True。 没有类型声明符号为布尔变量。 在声明只能使用补充资料 <tt>为布尔</tt>
+
<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:
  
  
lang="">  
+
<source lang="oobas">
Dim Variable为布尔
+
Dim Variable As Boolean
</source>  
+
</source>
  
  
 
   
 
   
{{InterWiki Languages BasicGuide|articletitle=Documentation/BASIC Guide/Boolean}}
+
{{InterWiki Languages BasicGuide|articletitle=}}
 +
{{PDL1}}
  
{{PDL1}}[[Category:G11n Wiki Translation Testing]]
+
[[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).
Personal tools