2 Copyright (c) 2000-2014 Ericsson Telecom AB
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Public License v1.0
6 which accompanies this distribution, and is available at
7 http://www.eclipse.org/legal/epl-v10.html
11 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
12 <meta http-equiv=
"Content-Language" content=
"en-us">
13 <title>infinity
</title>
15 <body bgcolor=
"#DAD3C5" vlink=
"#0094D2" link=
"#003258">
16 <table align=
"left" border=
"0" cellspacing=
"0" cellpadding=
"0" valign=top
>
18 <td width=
105 height=
40><a href=
"https://projects.eclipse.org/projects/tools.titan"><img src=
"../images/titan_transparent.gif" border=
0 width=
105 height=
40 align=
"left" alt=
"Titan"></a></td>
21 <table border=
"0" align=
"right" cellpadding=
"0" cellspacing=
"0">
23 <td><a href=
"../titan_main.html" alt=
"contents"><img border=
"0" src=
"../images/ao.jpg" width=
"53" height=
"40"></a></td>
24 <td><a href=
"../titan_index.html" alt=
"index"><img border=
"0" src=
"../images/up.jpg" width=
"53" height=
"40"></a></td>
25 <td><a alt=
"previous" href=
"inconc.html"><img border=
"0" src=
"../images/left.jpg" width=
"53" height=
"40"></a></td>
26 <td><a href=
"inout.html" alt=
"next"><img border=
"0" src=
"../images/right.jpg" width=
"53" height=
"40"></a></td>
33 <hr align=
"left" width=
"75%">
34 <p>The keyword is used for sub-typing to indicate that:
</p>
36 <li>the range of an integer value is not limited,
</li>
37 <li>the range of an floating point value is not limited,
</li>
38 <li>the length of a string is not limited
</li>
39 <li>the numer of elements in
<font face=
"Courier New"><b>set of
</b></font> and
<font face=
"Courier New"><b>record of
</b></font> is not limited.
</li>
41 <p>In case of integer and floating point numbers both positive and negative infinity may be used, for strings and
<font face=
"Courier New"><b><a href=
"of.html">set/record of
</a></b></font> only
42 postivie infinity is meaningful.
</p>
43 <p>Related keywords:
</p>
45 <li><a href=
"bitstring.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">bitstring
</font></b></a></li>
46 <li><a href=
"charstring.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">charstring
</font></b></a></li>
47 <li><a href=
"float.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">float
</font></b></a></li>
48 <li><a href=
"hexstring.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">hexstring
</font></b></a></li>
49 <li><a href=
"integer.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">integer
</font></b></a></li>
50 <li><a href=
"octetstring.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">octetstring
</font></b></a></li>
51 <li><a href=
"of.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">of
</font></b></a></li>
52 <li><a href=
"type.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">type
</font></b></a></li>
53 <li><a href=
"universal.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">universal
</font></b></a></li>
55 <hr align=
"left" width=
"50%">
58 <table border=
"0" width=
"90%" bgcolor=
"#FFB599" cellpadding=
"4">
61 <h3 align=
"center"><b><font color=
"#003258">[
</font><font face=
"Courier New" color=
"#003258" size=
"5">-
</font><font color=
"#003258">]
</font><font face=
"Courier New" color=
"#003258"
62 size=
"5">infinity
</font> </b></h3>
68 <hr align=
"left" width=
"50%">
69 <p><a name=
"double_quotation">Example
1</a>:
70 <p><font face=
"Courier New">type integer Cele (-infinity ..
18);
<br>
72 <p>The values of type Cele are integers less than or equal to eighteen. There is no limit for negative values.
</p>
73 <hr align=
"left" width=
"50%">
74 <p><a name=
"quotation_inside">Example
2</a>:
75 <p><font face=
"Courier New">type float Mergitur (
1.0E03 .. infinity);
<br>
77 <p>Type Mergitur contains only those real values, which are greater than or equal to one thousand. Values except for this range are disallowed.
</p>
78 <hr align=
"left" width=
"50%">
79 <p><a name=
"quotation_inside">Example
3</a>:
80 <p><font face=
"Courier New">type universal charstring Longue length (
11 .. infinity);
<br>
81 var Longue v_longue;
</font>
82 <p>The variable v_longue can have at least
11 characters (quadruples). An upper limit is not given.
</p>
83 <hr align=
"left" width=
"50%">
84 <p><a name=
"relation">Example
4</a>:
85 <p><code> type record length (
42 788 830 .. infinity) of integer Egeeszek;
</code>
86 <p>A valid value of type Egeeszek must contain at least forty-two million seven hundred eighty-eight thousand eight hundred thirty elements. An upper limit is not given.
</p>
87 <hr align=
"left" width=
"25%">
88 <hr align=
"left" width=
"25%">
89 <p align=
"left"><a HREF=
"BNF.html#infinitykeyword">BNF definition
</a> of
<font face=
"Courier New">infinity
</font></p>