Generic Data Types

Introduction

Generic Data Types begin with the prefix ANY. These types are used to describe the parameters to built-in functions, where the function is overloaded. For example the ABS function supports SINT, INT, DINT, LINT, REAL, LREAL and TIME.
A Generic Data Type specifies a range of types is acceptable:

Generic Data TypeImplied Types
ANYAny type elementary or structured
ANY_ELEMENTARYANY_MAGNITUDE, ANY_BIT, ANY_CHARS, or ANY_DATE
ANY_MAGNITUDEANY_INT, ANY_REAL, or TIME
ANY_INTEGRALANY_INT, or ANY_BIT
ANY_NUMANY_INT, or ANY_REAL
ANY_INTSINT, INT, DINT, LINT, USINT, UINT, UDINT, ULINT
ANY_REALREAL, LREAL
ANY_BITBOOL, BYTE, WORD, DWORD, LWORD
ANY_DATEDATE_AND_TIME, DATE
ANY_CHARSANY_CHAR, ANY_STRING
ANY_CHARCHAR, WCHAR
ANY_STRINGSTRING, WSTRING

Further Information

Elementary Data Types

To learn about elementary data types.

Common Elements

To learn about other language Common Elements.

Glossary

For the meaning of terms used in Fernhill SCADA.