IAbs

From SCAR Divi Manual
Jump to: navigation, search

Definition

function IAbs(Number: Integer): Integer;

Availability

SCAR Divi 3.00 > Current

Description

This function determines the absolute value of the integer value Number which is passed as an argument to the function.

Example

begin
  WriteLn(IAbs(1));
  WriteLn(IAbs(-1));
end.

Output:

1
1

See Also