>> how do I do a
cfloop in cfscript

http://www.granularity.com/company/whitepapers/Granularity-CFSCRIPT.pdf

The baove is worth having.

Regards


Colm





Colm Brazel MA
CB Publications

www.cbweb.net <http://www.cbweb.net>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>






-----Original Message-----
From: Russ 'Snake' Michaels [mailto:[EMAIL PROTECTED]]
Sent: 01 October 2002 11:47
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Lists of lists and cfscript


CFStudio does have this type of thing built in you know.

-----Original Message-----
From: Giles Roadnight [mailto:[EMAIL PROTECTED]]
Sent: 01 October 2002 10:14
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] Lists of lists and cfscript


Morning All

I am writing a script to check that a string has the same number of start
and end td, tr and table tags. I am wanting to write this in cfscript and I
want to have all of the tags in a list so that more can be added if needed
and I don't have to write the same bit of code for each tag pair.
So how do I get a list of lists? I have this

<cfset tagPairList = "'<td,</td','<tr,</tr','<table,</table'">

but if I loop through this list I get six results not 5 and how do I do a
cfloop in cfscript. I know about doing for loops but doing a for loop over a
list is harder than cflooping over a list.

I know there are ways around these problems but I was just wondering if this
sort of thing is possible.

Thanks

Giles


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/2002


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to