Documentation for a newer release is available.
View Latest
Esta página no está disponible actualmente en Español. Si lo necesita, póngase en contacto con el servicio de asistencia de Icon (correo electrónico)
Value Library
A value library is a collection of re-usable values which can be used in decisions and functions.
Overview
Value libraries allow for defining a list of values. Additionally, record and enum types can be defined and used to create complex data structures.
A simple example value library is shown below:
The first line defines a value called anInt, is of type int and stores the value 1.
The second line defines an enumeration AnEnum with A and B as possible values.
The third is a record declaration called ComplexType, which has two fields, a of type int and b of type AnEnum.
The final line defines a value aRecord of type ComplexType and uses its constructor method to set its fields.