Hi,
Oh I see thank you so much, that is a better:)
I always try to learn the "right" way to do coding, and so thanks so  
much for helping me learn:)
John
On Mar 29, 2006, at 1:56 AM, Stephen Moretti wrote:

> 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:1747
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

Reply via email to