Difference between revisions of "Extensions.DataType.StructureCreate"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''StructureCreate'''}}Category:DataTypes == Classification == {{ClassificationActivity | StructureCreate| Creates a new, initialised instance of the sp...") |
|||
Line 22: | Line 22: | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | package DataType.StructureSignature | + | package DataType.StructureSignature StructureSignature1(Integer StructureElement1, Boolean StructureElement2 = false); |
/// Global Declarations | /// Global Declarations | ||
Line 30: | Line 30: | ||
/// Local Declarations | /// Local Declarations | ||
− | + | StructureSignature1 Structure; | |
/// Flow | /// Flow | ||
− | Structure = DataType.StructureCreate( | + | Structure = DataType.StructureCreate(StructureSignature1); |
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 09:49, 24 September 2018
Contents
Classification
Name | StructureCreate |
Short Description | Creates a new, initialised instance of the specified structure. |
Class | Term |
Extension | OTX DataTypes extension |
Group | StructureCreate related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StructureTerm = DataType.StructureCreate(OtxLink);
Description
StructureCreate is a term that creates a new, initialised instance of the specified structure.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Structure | Returns a new, initialised instance of the specified structure. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
structureType | StructureSignature | - | - | [1..1] | Refers to a certain StructureSignature. |
OTL Examples
package DataType.StructureSignature StructureSignature1(Integer StructureElement1, Boolean StructureElement2 = false);
/// Global Declarations
public procedure main()
{
/// Local Declarations
StructureSignature1 Structure;
/// Flow
Structure = DataType.StructureCreate(StructureSignature1);
}
See also
EnumerationContainsName
EnumerationContainsValue
EnumerationGetEntryList
GetEnumerationByName
GetEnumerationByValue
StructureCopy