We're updating the issue view to help you get more done. 

Add a times() method to complement <cfloop times>

Description

As per: http://blog.adamcameron.me/2015/04/lucee-5-beta-misc-1.html

Probably like this:

1 5.times(function(current){});

Another CFScript syntax option could be:

1 2 3 for (5){ // stuff here }

Although perhaps implementing ranges and then have:

1 2 3 for(range){ // where the range might be {{[5]}} or {{[5..5]}} to be analogous to the above // stuff here }

Status

Assignee

Michael Offner

Reporter

Adam Cameron

Labels

Affects versions

5.0.0.43

Priority

New