Ar RangeMath

From GECK
Jump to: navigation, search


A function added by the AnhNVSE Plugin.

Description

Returns the difference of the largest and smallest *numeric* value of an array

Syntax

[help]
(float) Ar_RangeMath array:array 

Example

array_var aNumbers

aNumbers = ar_list 6,2,10,7
int iRange = Ar_RangeMath aNumbers          ; iMin = 8

See Also