Lycia allows developers to define their own data types.
User Defined Types Lycia allows developers to define their own data types. These can be based either on primitive data types (such as INTEGER), or complex types such as structures and arrays. User defined types can also be derived from database objects, and even structured types defined within the RDBMS. User-defined data types can be reused throughout the program eliminating the need to repeat the definition of core business objects. Derivation / Inheritance It is also possible to derive new sub-types from these user defined data types. For example, if a record is defined as a type containing properties of a person, such as first name and last name, it is possible to create an employee type that shares these properties but also has additional properties, such as an employee number. |  |
Increases Productivity and Maintainability
By allowing developers to define types that can be reused throughout the program, changes need only be made in one place and therefore code is more efficient and is easier to read and maintain.
Language DataTypes
Lycia supports all classic 4gl datatypes
- CHAR
- VARCHAR
- NCHAR
- NVARCHAR
- SMALLINT
- INTEGER
- SMALLFLOAT
- FLOAT
- MONEY
- DECIMAL
- DATE
- BYTE
- TEXT
...and introduced some new ones.

- STRING
- BOOLEAN
- CURSOR
- FORM
- WINDOW
- PREPARED