AMX AXCESS CONTROL SYSTEM PROGRAM Instruction Manual page 133

Programming language
Table of Contents

Advertisement

26. Every DEFINE_CALL should at least have a descriptive name and descriptive names for all
parameters and local variables.
Not recommended:
DEFINE_CALL 'DO SOMETHING' (C,N)
LOCAL_VAR
LOOP
{
LOOP= Ø
WHILE (LOOP < N)
{
}
}
Standard:
DEFINE_CALL 'TURN RELAYS OFF' (CARD,RELAY_NUMBER)
LOCAL_VAR
LOOP,PRE
{
PRE=1ØØ
LOOP=Ø
WHILE (LOOP<PRE)
27. List any PUSH_CHANNEL ranges used in the program above the DEFINE_DEVICE section.
Include the section comment so it can be found later using the 'SEARCH' command (ALT+S).
Standard:
PROGRAM_NAME='AMXØ1, BOARDROOM, SO#99999, REV2, XXX/BETA'
(* DATE:Ø4/Ø8/95
(* SYSTEM TYPE: ENHANCED MASTER V3.5ØØ
(**********************************************************)
(* PUSH_CHANNEL RANGES: >=8Ø ----- <=89
(*
(*
(**********************************************************)
(**********************************************************)
(*
(**********************************************************)
DEFINE_DEVICE
...
(**********************************************************)
(*
(**********************************************************)
Axcess Programming Language
(* LOOP COUNTER *)
LOOP=LOOP+1
OFF [C,LOOP]
(* LOOP COUNTER *)
LOOP=LOOP+1
(* INCREMENTAL COUNTER *)
TIME:Ø1:23:45
TV TUNER CONTROL SECTION:
(* KEYPAD *) [TP,8Ø]..[TP,89]
DEVICE DEFINITIONS GO BELOW
ACTUAL PROGRAM GOES BELOW
Appendix
*)
*)
*)
*)
*)
*)
*)
125

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AXCESS CONTROL SYSTEM PROGRAM and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Axcess

Table of Contents