hmCal_Delete Relation

hmCal_Delete Relation(area;reference) -> error

Parameter          Type             Description
area               Longint      ->  hmCal area
reference          Longint      ->  reference
error              Longint      <-  error code

Description

The command hmCal_Delete Relation deletes a relation. You must have created the relation with the command hmCal_Add Relation.

Example

The following example creates a new relation and deletes the relation:

C_LONGINT($vl_error)

$vl_error:=hmCal_Add Relation (hmCal;1;89;256;1)
$vl_error:=hmCal_Delete Relation (hmCal;1)