August 2001
Intermediate to advanced
976 pages
38h 8m
English
ArrayMax
ArrayMax(array)Returns the largest numeric value contained in the array. Useful only
for arrays containing numeric values. Here’s an example that
returns the highest grade in the array Grades:
<CFSET Grades = ArrayNew(1)> <CFSET Grades[1] = 95> <CFSET Grades[2] = 93> <CFSET Grades[3] = 87> <CFSET Grades[4] = 100> <CFSET Grades[5] = 74> <CFOUTPUT>The highest grade is #ArrayMax(Grades)#%.</CFOUTPUT>
Read now
Unlock full access