beautypg.com

Rpbasic-52 programming guide – Remote Processing BASIC 52 User Manual

Page 20

background image

RPBASIC-52 PROGRAMMING GUIDE

2-1

ABS

Syntax:

ABS(expr)
Where: expr = any number in Basic's range

Function:

Returns the absolute value of an expression

Mode:

Comm and, run

Use:

P R I N T A B S( C )

Cards:

All

D E S C R IP T I ON

The absolute value of a number is always positive or zero.