Difference between revisions of "IAbs"
From SCAR Divi Manual
(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...") |
(No difference)
|
Revision as of 23:00, 27 June 2011
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