hmCal_Is Area Valid
hmCal_Is Area Valid(Area) -> Valid
Parameter Type Description
Area Longint -> hmCal area
Valid Longint <- 1=valid, 0=invalid
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.
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