Calling Adis Functions

The syntax for using these Adis functions is:

Syntax:

call x"AF" using  function-code
                  parameter

Parameters:

function-code

A pic x comp-x value field which contains the number of the function to be executed.

parameter

Varies according to the function. See the description of the individual function for information about the setting of parameter.

Note:
  • All Adis calls must have a second parameter even though its contents are sometimes ignored.
  • If an error occurs while executing this call, parameter returns a value of 255.