Difference between revisions of "Core.Declarations.LocalDeclarations"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''Local Declarations''' data model}}Category:OTX-CoreCategory:Declarations == Classification == {{ClassificationCore | Local Declarations | OTX loc...") |
|||
Line 24: | Line 24: | ||
== See also == | == See also == | ||
− | [[ | + | [[OtxValidation|Validation (OTX-Checker)]] <br/> |
− | [[ | + | [[OtxNamingConventions|Naming Conventions]] <br/> |
− | [[ | + | [[OtxDeclarations|Imports]] <br/> |
− | [[Visibilities]] <br/> | + | [[OtxVisibilities|Visibilities]] <br/> |
− | [[Validities]] <br/> | + | [[OtxValidities|Validities]] <br/> |
− | [[Signatures]] <br/> | + | [[OtxSignatures|Signatures]] <br/> |
− | [[ | + | [[OtxParameterDeclarations|Parameter Declarations]] <br/> |
− | [[Procedures]] <br/> | + | [[OtxProcedures|Procedures]] <br/> |
− | [[Comments]] | + | [[OtxComments|Comments]] |
Revision as of 08:58, 30 July 2014
Contents
Classification
Name | Local Declarations |
Short Description | OTX local declarations data model |
Class | OTX Core |
Pre-Conditions | - |
Specified by | ISO 13209-2 |
Introduction
In the local declaration block:
- Constant
- Variable
can be declared. The local declaration block is located on a procedure level. The declared items can be used within the procedure.
Semantics
Constant
The value of a local constant is set at design time and can not be changed at runtime. Local constants are visible only within its own procedure. A constant has a Type and a corresponding type value.
Variable
The value of a local variable can be changed at runtime. Local variables are visible only within its own procedure. A variable has a Type and a corresponding type the initial value (default value).
Checker rules
Core_Chk009 | Mandatory constant initialisation |
See also
Validation (OTX-Checker)
Naming Conventions
Imports
Visibilities
Validities
Signatures
Parameter Declarations
Procedures
Comments