Difference between revisions of "Extensions.Util.CopyByteField"

From emotive
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
ByteFieldTerm = Util.CopyByteField(ByteFieldTerm);
+
ByteFieldTerm Util.CopyByteField(ByteFieldTerm byteField);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 16: Line 16:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| Term | - | [[Term]] | - | [1..1] | Represents the '''ByteField''' which shall be copied.}}
+
{{TableRowPropertie2| ByteField| [[Core.DataTypes.ComplexDataType.ByteField|ByteField]] | [[Term]] | - | [1..1] | Represents the '''ByteField''' which shall be copied.}}
 
|}
 
|}
  
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
/// Local Declarations
 +
 
ByteField ByteField1;
 
ByteField ByteField1;
  
Line 31: Line 33:
 
[[Extensions.Util.Compare|Compare]] <br/>
 
[[Extensions.Util.Compare|Compare]] <br/>
 
<!--[[Extensions.Util.CopyByteField|CopyByteField]] <br/>-->
 
<!--[[Extensions.Util.CopyByteField|CopyByteField]] <br/>-->
 +
[[Extensions.Util.GetRandomNumber|GetRandomNumber]] <br/>
 
[[Extensions.Util.IsInitialized|IsInitialized]] <br/>
 
[[Extensions.Util.IsInitialized|IsInitialized]] <br/>
 
[[Extensions.Util.ListIndexOf|ListIndexOf]] <br/>
 
[[Extensions.Util.ListIndexOf|ListIndexOf]] <br/>

Latest revision as of 02:32, 8 November 2018

Classification

Name CopyByteField
Short Description Copies the byteField
Class Term
Extension OTX Util extension
Group Util related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

ByteFieldTerm Util.CopyByteField(ByteFieldTerm byteField);

Description

The OTX CopyByteField term returns a ByteField which is a copy of the <byteField> parameter.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
ByteField The ByteField which is a copy of the <byteField> parameter.

Properties

Name Data Type Class Default Cardinality Description
ByteField ByteField Term - [1..1] Represents the ByteField which shall be copied.

OTL Examples

/// Local Declarations

ByteField ByteField1;

/// Flow

ByteField1 = Util.CopyByteField(&0123456789ABCDEF);

See also

Compare
GetRandomNumber
IsInitialized
ListIndexOf
ListIndexOfAny
ListReverse
ListSort
Max
Min
StringFormat