Factory System_Calls - AMX AXCESS CONTROL SYSTEM PROGRAM Instruction Manual

Programming language
Table of Contents

Advertisement

Include Files and System_Calls
FIG. 27 Compilation flow using an include file
When using SYSTEM_CALLs, you do not have to implicitly include the file with the subroutine
you wish to use; Axcess does this for you automatically. The SYSTEM_CALL is like a
combination of the INCLUDE and CALL keywords.

Factory System_Calls

AMX has written a number of SYSTEM_CALLs to handle many of the most common
programming requirements in Axcess Control Systems, called Factory SYSTEM_CALLs. They are
included as library files on the Axcess distribution diskette. These SYSTEM_CALLs are divided
into several categories including VCRs, switchers, laser discs, and others. Factory
SYSTEM_CALLs follow a standard naming convention, and the SYSTEM_CALLs in each group
take the same parameters. For an up-to-date listing of factory SYSTEM_CALLs, refer to
Newcalls.TXT and Camcalls.TXT on the AMX Control Disc, or check the AMX BBS. For
information on accessing the AMX BBS, refer to Worldgroup Readme on the Control Disc, or refer
to the Accessing the AMX BBS section of this manual.
The purpose of the factory SYSTEM_CALLs is to maintain a consistent look and feel for the
control panels, regardless of how the deck behaves from its own remote control. For example, when
some VCRs are in the pause mode, pressing Pause again will cause the deck to play, whereas on
other VCRs, pressing Pause again does nothing. However, when using a VCR SYSTEM_CALL,
pressing Pause on the control panel while the deck is in pause mode will always cause the deck to
play. This is because the different VCR SYSTEM_CALLs were written to take into account the
behaviors of different VCRs. Therefore, no matter what type or model of equipment is being used,
the behavior of the buttons on the control panel will not change.
The instance number and name mangling
A SYSTEM_CALL can be called more than once in a single program. Take a look at this example
that uses the SQUARE SYSTEM_CALL:
Axcess Programming Language
97

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Axcess

Table of Contents