Returns the absolute value of a numeric signed variable.
var = ABS(var2)
Variable that is assigned with the absolute value of var2.
The source variable to retrieve the absolute value from.
var : Integer , Long, Single or Double.
var2 : Integer, Long, Single or Double.
The absolute value of a number is always positive.
Calls: _abs16 for an Integer and _abs32 for a Long
Input: R16-R17 for an Integer and R16-R19 for a Long
Output:R16-R17 for an Integer and R16-R19 for a Long
Calls _Fltabsmem for a single from the fp_trig library.
Dim a as Integer, c as Integer
c = Abs(a)