This should get you there:
<cfset list="apple,orange,pear">
<cfscript>
for (i = 1; i lte listLen(list); i = i + 1) {
element = listGetAt(list, i);
writeOutput(element);
}
</cfscript>
----- Original Message -----
From: jean-marc bottin <[EMAIL PROTECTED]>
Date: Mon, 28 Jun 2004 09:06:30 -0400
Subject: cfloop and cfscript
To: CF-Talk <[EMAIL PROTECTED]>
Hi,
I have been looking at the documentation at macormedai but i didi not
find any clear explaination on how to do a cfloop for a list in a
cfscript.
How can i do
<cfloop index = "theIndex" list = "theList" delimiters = theDelimiter">
in a cfscript
Thanks,
Jean-Marc________________________________
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- cfloop and cfscript jean-marc bottin
- Re: cfloop and cfscript Thomas Chiverton
- Re: cfloop and cfscript Joe Rinehart
- Re: cfloop and cfscript Claude Schneegans
- RE: cfloop and cfscript Barney Boisvert
- RE: cfloop and cfscript Jean-Marc Bottin