ABS Function

Basic Computer Programming Language Command Set

Purpose::

To return the absolute value of the expression n.

Syntax:

ABS(n)
Comments:

n must be a numeric expression.

Examples:

PRINT ABS(7*(-5))
 35

Prints 35 as the result of the action.

Basic commands



Index