hmCal_Get Relation Type

hmCal_Get Relation Type(area;reference) -> type

Parameter          Type             Description
area               Longint      ->  hmCal area
reference          Longint      ->  reference
type               Longint      <-  relationtype

Description

The command hmCal_Get Relation Type returns the type of a relation defined by the parameter reference.

Example

The following example returns the type of the relation with the id 781:

C_LONGINT($vl_type)

$vl_type:=hmCal_Get Relation Type (hmCal;781)