Basic programming guide – Remote Processing BASIC for the CX-10 Modbus User Manual

Page 10

Advertising
background image

BASIC PROGRAMMING GUIDE

2-1

BASIC-52 COMMANDS & FUNCTIONS

ABS

Syntax:

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

Function:

Returns the absolute value of an expression

Mode:

Command, run

Use:

PRINT ABS(C)

DESCRIPTION

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

Advertising