jon hall wrote:
> 
> <cfset objectOfOurDesire = createObject("component", "beaver")>

A dirty mind is a joy forever :)


Unpatched CF MX, default JRE:

Debug output:
0 ms  0 ms  1  CFC[ C:\CFusionMX\wwwroot\www\beaver.cfc | feedTheBeaver( 
grapes, 1) ] from C:\CFusionMX\wwwroot\www\beaver.cfm
0 ms  0 ms  1  CFC[ C:\CFusionMX\wwwroot\www\beaver.cfc | feedTheBeaver( 
pears, 1) ] from C:\CFusionMX\wwwroot\www\beaver.cfm
0 ms  0 ms  1  CFC[ C:\CFusionMX\wwwroot\www\beaver.cfc | feedTheBeaver( 
sirloin steak, 1) ] from C:\CFusionMX\wwwroot\www\beaver.cfm
0 ms  0 ms  1  CFC[ C:\CFusionMX\wwwroot\www\beaver.cfc | 
feedTheBeaver(apples, 1) ] from C:\CFusionMX\wwwroot\www\beaver.cfm

On screen output:
You fed the beaver 1 plates of apples
You fed the beaver 1 plates of pears
You fed the beaver 1 plates of grapes
You fed the beaver 1 plates of sirloin steak

The order is wrong (not sure if it is supposed to be chronological but I 
would expect so), but the arguments are right.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to