Extensions.DataType.StructureCreate
Revision as of 09:48, 24 September 2018 by Hb (talk | contribs) (Created page with "{{DISPLAYTITLE:OTX '''StructureCreate'''}}Category:DataTypes == Classification == {{ClassificationActivity | StructureCreate| Creates a new, initialised instance of the sp...")
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 My_StructureSignature(Integer StructureElement1, Boolean StructureElement2 = false);
/// Global Declarations
public procedure main()
{
/// Local Declarations
My_StructureSignature Structure;
/// Flow
Structure = DataType.StructureCreate(My_StructureSignature);
}
See also
EnumerationContainsName
EnumerationContainsValue
EnumerationGetEntryList
GetEnumerationByName
GetEnumerationByValue
StructureCopy