hmCal_Get Unit

hmCal_Get Unit(area) -> raster

Parameter          Type             Description
area               Longint      ->  hmCal area
raster             Longint      <-  raster in seconds

Description

The command hmCal_Get Unit returns the current raster of the calendar area. Raster can be a value from 0 to 3600 seconds. That represents a period from 0 to 60 minutes.

Example

The following example returns the current raster of the calendar:

C_LONGINT($vl_unit)

$vl_unit:=hmCal_Get Unit(hmCal)