[CFCDev] n-parameters?

2006-06-08 Thread Peter Bell
Title: Message One more question. Lets say a function call arbitrarily requires n-parameters, I'd like to do something like: Local.LoopReturns = evaluate("Request.#Local.Temp.Class#.#Local.Temp.Method#(Local.Temp.Parameters)"); where I concatenate the values of the n-parameters into a

Re: [CFCDev] n-parameters?

2006-06-08 Thread massimo
Any ideas on generically calling functions with n-parameters within a loop so the same line of code can call any method of any class with any number of parameters? A combination of cfinvoke and cfinvokeargument should do the work. Massimo

Re: [CFCDev] n-parameters?

2006-06-08 Thread Steve Bryant
Use argumentCollection and pass in a struct: example: result = component.method(argumentCollection=mystruct); Steve Bryant 918-449-9440 Bryant Web Consulting LLC http://www.BryantWebConsulting.com/ http://steve.coldfusionjournal.com/ At 09:13 AM 6/8/2006, Peter Bell wrote: One more question.