AlarmHornEnabledToggle Example

This example shows how to toggle the alarm horn and read the return value that indicates how the status was changed.

Dim blnReturn As Boolean

blnReturn = AlarmHornEnabledToggle

If blnReturn Then

MsgBox ("The horn is now Enabled")

Else

MsgBox ("The horn is now Disabled"

End If