include mathlib.inc
integer IntegerArray[2,3] is -6, 8, 2, 3, 4, 1
integer IResult_IV
float FloatArray[3,2] is 2.7, 7.1, 4.23, 41.14, 0.0, 87.9
float FResult_FV
action MaxInt is
call MAXINT(IntegerArray, IResult_IV)
send "Max value of IntegerArray is " IResult_IV "\n"
to errorlog
action MeanInt is
call MEANINT(IntegerArray, FResult_FV)
send "Mean of IntegerArray is " FResult_FV "\n" to
errorlog
action Sum is
call SUM(FloatArray, FResult_FV)
send "SUM of FloatArray is " FResult_FV "\n"
to errorlog