from how i understood this the loop was only being used to ascertain the
final range start and end values?

if you are using int/ceiling to find these out - then the looping isn't
necessary ?


On 8/25/06, Gert Franz <[EMAIL PROTECTED]> wrote:
>
> <cfset iStart = Int(url.video_id/10)*10 + 1>
> <cfset iStop = Int(url.video_id/10)*10 + 10>
> <cfloop from="#iStart#" to="#iStop#" index="i">
> ....
> </cfloop>
>
> Greetings / GrĂ¼sse
> Gert Franz
> Customer Care
> [EMAIL PROTECTED]
> www.railo.ch
>
> Join our Mailing List / Treten Sie unserer Mailingliste bei:
> deutsch: http://de.groups.yahoo.com/group/railo/
> english: http://groups.yahoo.com/group/railo_talk/
>
>
>
> [EMAIL PROTECTED] schrieb:
> > I want to loop over a URL.VIDEO_ID value and find the numeric range it
> falls in.
> > The value range needs to be between 1-10 or 11-21 etc. until the
> condition is met.
> >
> > EXAMPLE: if the URL.VIDEO_ID value is 72 I would want to cfloop until I
> > found the range that this 72 value fit and then set variables like ...
> > <CFSET start = 71>
> > and
> > <CFSET end = 80>
> >
> > I have ...
> >
> >  <CFSET START = 1>
> >  <CFSET END = 10>
> >
> > THIS IS WHERE I NEED HELP
> >
> > <CFLOOP condition="URL.VIDEO_ID GREATER THAN OR EQUAL TO START OR
> URL.VIDEO_ID LESS THAN OR EQUAL TO END" step="10">
> > ????
> > </CFLOOP>
> >
> > D-
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251011
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to