Right, but why do you need the name of the function to be dynamic? Why isn’t it enough that you pass in args within the loop (and declare the function outside of it)?
/charlie From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of rai...@ozemail.com.au Sent: Wednesday, March 25, 2015 11:14 PM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] Help With Dynamic Naming A CfScript Function I am calculating distance between 2 sets of lon / lat and the information is dynamic so I need to capture the values of the dynamic data and compare them to the values stored in a database table of which there may been to be several records tested against the values in the dynamic data Eg 1 set of co ordinate received from a device in the field data is received by the listener and needs to be tested against co ordinates recorded in the database table of which there may be several records needing to be tested against hence the need for the loop Regards Claude Raiola -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To unsubscribe from this group and stop receiving emails from it, send an email to cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.com. Visit this group at http://groups.google.com/group/cfaussie. For more options, visit https://groups.google.com/d/optout.