John,
Just so you know :
WriteOutput(i);
is a better way to do the writeout() you have. There's no need to use
the #'s or quotes, you can simply pass writeout() the variable name.
You can do things like : writeoutput("this loop "&i&"<br>"); where the
current value of i is concatenated using the & to the end of the string
"this loop " with an html break after it, so that your output will be
this loop 1
this loop 2
.....
this loop 10
Regards
Stephen
> Hi,
> Thanks so much`-`
> I just used:
> <cfscript>
> for (i = 0; i LT 10; i = i + 1) {
> WriteOutput("#i#");
> }
> </cfscript>
> it output 0 thru 9, which is what I was after.
>
> WOW, thanks for sharing your cfQuickDocs with me. The search feature
> doe not seem to work in Firefox, but works in Camio.
> Very cool. I bookmarked this! Thanks so much, this is great`-`
>
> Thanks again,
> John
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1744
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54