Hardware manual
Commands and Functions A-D Impact Reference Guide
Datalogic Automation Inc. 5-10
AMAXI(array)
This function returns the index of the maximum value in the argument array. Example:
list[0] = 10
list[1] = 2
list[2] = 53
list[3] = 4
listmaxi =amaxi (list) yields listmaxi = 2
AMIN(array)
This function returns the minimum value in the argument array. Example:
list[0] = 10
list[1] = 2
list[2] = 53
list[3] = 4
listmin =amin (list) yields listmin = 2
AMINI(array)
This function returns the index of the minimum value in the argument array. Example:
list[0] = 10
list[1] = 2
list[2] = 53
list[3] = 4
listmini =amini (list) yields listmini = 1
ASC()
This function returns the ASCII code of the first character of the argument string. Example:
ascii_value = ASC("a") yields ascii_value = 97
ASIN()
This function returns the arc sine of the argument (the inverse of the sin function). The result is in radians. If
the argument is not between -1.0 and +1.0 the function will fail. Example:
x = ASIN(0.5) yields x = 0.5235988
ATAN()
This function returns the arc tangent of the argument. The result is in radians. If the argument is undef, the
result is undef. This example assigns the value 0.785 to the real variable x.
x = ATAN(1) yields x = 0.7853982
CALL
This command calls a user-written subroutine and passes optional arguments. Example:
CALL mysub (x,y)
CHDIR()