Derived Data Types

Help Contents

Introduction

Derived Data Types allow you to declare your own types. Derived data types are declared within TYPE and END_TYPE keywords. In this example a new type name called Level is declared as REAL:

TYPE
    Level : REAL;
END_TYPE

You can declare these Derived Data Types:

Data TypeDescription
EnumeratedEnumerated type.
STRUCTStructured type.
ARRAYArray of values.
SubrangeAn existing type with a restricted range.
REF_TOA pointer to an existing type.
POINTER TOA pointer to an existing type.

Further Information

Elementary Types

To learn about the built-in elementary types.

Common Elements

To learn about other common language elements.

Glossary

For the meaning of terms used in Fernhill SCADA.