STATUS
|
|
|
Purpose:
|
To find the status of a panel. The function returns 0 if there's loss of
|
|
|
communication, 2 if the panel has no program, and 1 if everything is fine.
|
|
Format:
|
STATUS( expression )
|
|
Example:
|
10
|
REM TAKE SPECIAL ACTION IF PANEL 2 NOT OK
|
|
20
|
IF STATUS( 2 ) THEN GOSUB 40
|
|
30 END
|
|
|
40
|
START OUT1 : STOP OUT2 : RETURN
|