Difference between revisions of "Core.Terms.IntegerLiteral"

From emotive
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;">
* 0
+
Integer Integer1 = 0;
* 20
+
Integer Integer2 = 20;
* -1234
+
Integer Integer3 = -1234;
* 7898797120
+
Integer Integer4 = 7898797120;
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 06:44, 3 February 2015

Classification

Name IntegerLiteral
Short Description Literal of type Integer
Class Term
Extension OTX Core library
Group Literal related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

Value = literal

Description

A IntegerLiteral is the code representation of a value of type Integer.

Properties

Name Data Type Class Default Cardinality Description
Literal Integer Literal - [1] Designation of a decimal number in c# notation.

OTL Examples

Integer Integer1 = 0;
Integer Integer2 = 20;
Integer Integer3 = -1234;
Integer Integer4 = 7898797120;

See also

BooleanLiteral
FloatLiteral
StringLiteral
ByteFieldLiteral
ListLiteral
MapLiteral
UserExceptionLiteral