IAbs

From SCAR Divi Manual
Revision as of 23:00, 27 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function iAbs(Number: Integer): Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== This function det...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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