Difference between revisions of "Core.Terms.BooleanLiteral"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | Boolean bool1 = true; | |
− | + | Boolean bool2 = false; | |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 04:48, 3 February 2015
Classification
Name | BooleanLiteral |
Short Description | Literal of type Boolean |
Class | Term |
Extension | OTX Core library |
Group | Literal related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
Value = literal
Description
A BooleanLiteral is the code representation of a value of type Boolean.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Literal | Boolean | Literal | - | [1] | Designation of a Boolean value to c# notation. |
OTL Examples
Boolean bool1 = true;
Boolean bool2 = false;
See also
IntegerLiteral
FloatLiteral
StringLiteral
ByteFieldLiteral
ListLiteral
MapLiteral
UserExceptionLiteral