list question


i have simple list:  1, 3, 6, 7, 11, 13, 16, 21

i want count list numbers greater 8. end result list should "4" (11, 13, 16, 21).

i've read through list functions , nothing seems fit. how evaluate items in list see fi greater 8 count items?

thanks

initialise new list empty string.

 

loop on first list cfloop:

http://help.adobe.com/en_us/coldfusion/9.0/cfmlref/wsc3ff6d0ea77859461172e0811cbec22c24-71 a7.html

 

check each element condition.

 

if meets condition, append new list.

 

after loop, new list have values want.

 

there no more expedient way of doing that, really.

 

--

adam



More discussions in ColdFusion


adobe

Comments