This is the old version of our wiki. We advice to visit: https://www.geodms.nl

Union unit

From ObjectVision

Jump to: navigation, search

Relational functions union_unit

Contents

syntax

  • union_unit(a, b, ... , n)

definition

union_unit(a, b, ... , n) results in a uint32 domain unit, based on the domain units: a, b, .., n.

The number of elements of the new domain is the sum of the number of elements of the domain units: a, b, .., n.

description

Use the union_data function to union data items for new domain units.

The union_unit function results in a uint32 domain unit. Use a union_unit_uint8/16/32/64 function to configure a domain of another value type.

applies to

Units a, b, .., n with value types from the group CanBeDomainUnit

since version

5.15

example

unit<uint32> HollandCity := union_unit(NHCity, ZHCity); 
Result = domain unit with 8 rows

uint<uint32> NHdCity: nrofrows = 3; 
uint<uint32> ZHCity:  nrofrows = 5;

see also

Personal tools