Hey guys.  I've stumbled on an annoyance while usign the new cffunction tag
that may waste your time.  

If you don't know, you can create udfs in cfml using the cffunction tag.
Its pretty cool.  Ie, you can now write a udf that does queries and stored
procs and anything else that cfscript wouldn't do that cfml can.  

You call them like so 
#getpages(1,2,3)# 
or 
<cfset this = getpages(1,2,3)>

This is very cool.  However. If you get carried away with your #signs and
write:
#getpages(1,#variable#,3)# 

Ie, put pound signs inside the function, you get an error saying
"Missing argument name."  which has nothing to do with your problem.

So, use # signs correctly and don't put them in function calls!
DRE
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to