This is incorrect: >you need to properly call the function, and since you are NOT in >cfscript block, you need to use <cfset>: > ><cfset somevar = getProduct(3)>
You are NOT required to use cfset to call a function. Inside cfoutput, this is valid syntax and will call the function: #doSomething(Args)# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323367 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4