Why are you declaring functions inside a loop? On Thu, Mar 26, 2015 at 1:59 PM, <rai...@ozemail.com.au> wrote:
> Hi > > > > I have a cfscript where it is inside a loop > > > > function getDistance(loclat, loclon, fencelat, fencelon, units = > 'kilometers') > > > > as its in a loop it throws an error as the function of same name is being > declared multiple times when the loop as more than one record > > > > so how do I name the name dynamic > > > > I have tried > > > > function getDistance#id#(loclat, loclon, fencelat, fencelon, units = > 'kilometers') > > > > but it throws errors > > > > any advice would be grateful > > > > > > > > > > > > NB: TrackingCentral is now a registered product & services provider for > the National Disability Insurance Scheme, under the category of Assisted > Technology > > > > Regards > > > > Claude Raiola > Director > TrackingCentral Pty. Ltd > > Free Call 1300 255 990 > > > > [image: TrackingCentral_Logo] > > > > > > -- > 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. > -- Paul Kukiel -- 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.