logo-header

 
 

syntax

definition

BaseUnit(metric, ValuesUnit) configures values units as base units, e.g. meter or second. The metric of this unit is configured as first argument.

applies to

Unit values unit with any value type

String literal metric

since version

5.15

example

container units
{
unit<float32> m := BaseUnit('meter', float32);
   unit<float32> m2 := m * m; }

OBJECT VISION BV
Vrije Universiteit
De Boelelaan 1085
1081 HV Amsterdam
The Netherlands

tel: +31 (0)20 598 9083
fax:+31 (0)20 598 9904