Skip to content
Snippets Groups Projects
Commit 63af1556 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

fixed some strange characters.


Signed-off-by: default avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 07aba108
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@
<h1>charstring</h1>
<hr align="left" width="75%">
<p>The keyword <b><font face="Courier New"> charstring</font></b> denotes a basic string type whose distinguished values are the ordered sequences of characters of <a
href="http://en.wikipedia.org/wiki/ISO_646" target="_blank">ISO/IEC 646</a> International Reference Version (IRV) – formerly International Alphabet No.5 (IA5) described in ITU-T Recommendation T.50.</p>
href="http://en.wikipedia.org/wiki/ISO_646" target="_blank">ISO/IEC 646</a> International Reference Version (IRV) - formerly International Alphabet No.5 (IA5) described in ITU-T Recommendation T.50.</p>
<ul>
<li>Character string values are written between <a href="#double_quotation"> double quotes</a> (&quot; &quot;).</li>
<li>A single character may be specified by its decimal code point using a <a href="#conversion">conversion function</a>.</li>
......@@ -178,19 +178,19 @@ are optional.</p>
<p><a name="oct2char">Example 7f</a>:
<p><font face="Courier New">const octetstring c_deposed := char2oct (&quot;Tinky-Winky&quot;);&nbsp;<br>
</font>
<p>The constant called c_deposed will contain the octet string ’54696E6B792D57696E6B79’O because the resulting octet string will have the same length as the incoming character string. The octets
<p>The constant called c_deposed will contain the octet string 54696E6B792D57696E6B79O because the resulting octet string will have the same length as the incoming character string. The octets
of the octet string will contain the ASCII codes of the appropriate characters of the character string.</p>
<hr align="left" width="50%">
<p><a name="str2bit">Example 7g</a></p>
<p><font face="Courier New">const bitstring c_marque := str2bit (&quot;1011011100&quot;);<br>
</font>
<p>The constant called c_marque will contain the bit string ’1011011100’B because each character represents the value of one bit in the resulting bit string. Its argument may contain the
characters ”0” or ”1” only, otherwise the result is a dynamic test case error.</p>
<p>The constant called c_marque will contain the bit string 1011011100B because each character represents the value of one bit in the resulting bit string. Its argument may contain the
characters ’0’ or ’1’ only, otherwise the result is a dynamic test case error.</p>
<hr align="left" width="50%">
<p><a name="str2hex">Example 7h</a></p>
<p><font face="Courier New">const hexstring c_jesien := str2hex (&quot;1D7&quot;);&nbsp;<br>
</font>
<p>The constant called c_jesien will contain the hexadecimal string ’1D7’H&nbsp; because each character in the character string represents the value of one hexadecimal digit in the resulting
<p>The constant called c_jesien will contain the hexadecimal string ’1D7’H&nbsp; because each character in the character string represents the value of one hexadecimal digit in the resulting
hexadecimal string in the same order.</p>
<hr align="left" width="50%">
<p><a name="list">Example 8</a>:
......
......@@ -41,7 +41,7 @@
<li>Test component is an entity on which test behavior is executed</li>
<li>Test component is owner of the test ports</li>
<li>Constants, variable and timers declared in the component type are visible from all functions and test cases, which execute on that very component type</li>
<li>Several test components can run in parallel – each executes independently</li>
<li>Several test components can run in parallel - each executes independently</li>
</ul>
<p>Related keywords:</p>
<ul>
......
......@@ -41,11 +41,11 @@
<ul>
<li>
<p>internal<br>
&nbsp; &nbsp;is appended to the port type definition if all instances of a TTCN–3 port type are intended to be used for internal communication only (i.e. between two TTCN–3 test components).</p>
&nbsp; &nbsp;is appended to the port type definition if all instances of a TTCN-3 port type are intended to be used for internal communication only (i.e. between two TTCN-3 test components).</p>
</li>
<li>
<p>address<br>
&nbsp;&nbsp;is appended to the port type definition if the user wants to use <b><font face="Courier New"> address</font></b> values in TTCN–3 port operations.</p>
&nbsp;&nbsp;is appended to the port type definition if the user wants to use <b><font face="Courier New"> address</font></b> values in TTCN-3 port operations.</p>
</li>
<li>
<p>done<br>
......
......@@ -151,7 +151,7 @@ v_myRecord.Number2 := 12;</font>
<p><a name="Example 4">Example 4</a>: value list notation&nbsp; (For the type and variable definition see example 1 &amp; 2)
<p><font face="Courier New">v_myRecord</font><font face="Courier New"> := {omit, -, &quot;&quot;};</font>
<p>In the value list notation no elements may be absent, dropped optional elements (here: Number1) must explicitly be omitted using the omit keyword. A field value remains unchanged when the
'not-used' symbol (–) is applied (here: Number2). The last field will contain an empty string.</p>
'not-used' symbol (-) is applied (here: Number2). The last field will contain an empty string.</p>
<hr align="left" width="50%">
<p><a name="Example 5">Example 5</a>: the predefined function sizeof()</p>
<p><font face="Courier New">v_myRecord := {omit, 191, &quot;s&quot;};<br>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment