hmCal_Is Area Valid

hmCal_Is Area Valid(Area) -> Valid

Parameter          Type             Description
Area               Longint     ->   hmCal area
Valid              Longint     <-   1=valid, 0=invalid

Description

The command hmCal_Is Area Valid returns if the hmCal area, defined by the parameter Area is valid or not. If the area is valid a 1 is returned. If the area is invalid a 0 is returned.

Example

The following example returns, if the area is valid or not:

If(hmCal_Is Area Valid(135468941)=1)
 ALERT("Valid!")

 Do something...

Else
 ALERT("Invalid!)
End if