Thanks for the explanation. The loop endpoint being processed multiple
times is I'm sure the sulprit, and would explain why the loop would break
out after folowing one string to its conclusion. I unfortunatly deleted the
CFSCRIPT syntax or I would gladly post the example, but thanks for the
Has anyone had issues with cfscript syntax where it doesn't function
correctly? I had an issue in a CFC where I was looping through an array and
then making recursive method calls to the same method doing the looping.
The loop was supposed to make a call for every item in the array, but it
would
There are some subtle differences between CFSCRIPT constructs and
their equivalent tag-based constructs. I'd wager that's the
culprit. The usual suspect: the endpoint of CFLOOP is evaluated once
when CFLOOP runs initially, while the endpoint of a CFSCRIPT for loop
is evaluated each iteration.
3 matches
Mail list logo