High Country Tek emc-3L User Manual

Page 55

Advertising
background image

would equal 0 rather than 0.5 for any subsequent calculation. Also note that calculations in parentheses will be
performed first. For instance the expression

will equal zero while

will equal 100.


Since the DVC does only unsigned math, negative numbers are not explicitly saved. So when you wish to
calculate a difference in two variables you will need to write code like:

If

(a < b)

then

Diff = b-a

Else

Diff = a-b

End

if

P/N: 021-00163, Rev. A.0 - for V5.2 Tools

Page | 55

Advertising
This manual is related to the following products: