Difference between revisions of "AMin"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function AMin(Data: TIntegerArray): Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the s...") |
|||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | function AMin(Data: | + | function AMin(Data: TIntArray): Integer; |
</source> | </source> | ||
==Availability== | ==Availability== | ||
SCAR Divi 3.00 > Current | SCAR Divi 3.00 > Current | ||
+ | |||
+ | * '''Data''' was a [[TIntegerArray]] before SCAR Divi 3.28. | ||
==Description== | ==Description== | ||
− | Returns the smallest of a given [[ | + | Returns the smallest of a given [[TIntArray]] of values '''Data'''. |
==Example== | ==Example== |
Revision as of 10:19, 21 October 2011
Definition
function AMin(Data: TIntArray): Integer;
Availability
SCAR Divi 3.00 > Current
- Data was a TIntegerArray before SCAR Divi 3.28.
Description
Returns the smallest of a given TIntArray of values Data.
Example
begin WriteLn(AMin([1, 2, 3, 4])); end.
Output:
1