Jul 27, 2015

Linx 4 vs Linx 5: Part 4 - Types

Type

A Type is a classification identifying one of various types of data such as String, Integer or Boolean. In Linx 4 we have a Variable component that can create one or more variables of a specific type. In Linx 5 we drop a Type on a Process to create a variable of that type.



Custom Type

Users can define their own Custom Type with the properties of their choice. Custom Types appear in the Solution Explorer.


To create a variable of a Custom Type drop it on a Process. The value of a Custom Type variable is defined in Json. There is an editor to make this easy.



List Type

A variable of type List has both a name and a content type. The content type can be any valid Type including Custom Types.



Values of List variables are defined using Json. There is an editor to make this easy.



Other Types

The other types are self explanatory - Boolean, Byte, DateTime, Decimal, Double, Integer (64bit) and String.



3 comments: