Er, slight typo... getpages(1,variables.something,2,3); etc.. my bad.

On Thu, 6 Jun 2002 [EMAIL PROTECTED] wrote:

> Right, you want to do: getpages(1.variables.something,3), etc.
> 
> On Thu, 6 Jun 2002, Andre Turrettini wrote:
> 
> > 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
> > 
> 
______________________________________________________________________
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
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