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 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 From: [email protected] [mailto:[email protected]] On Behalf Of Paul Kukiel Sent: Thursday, 26 March 2015 1:02 PM To: [email protected] Subject: Re: [cfaussie] Help With Dynamic Naming A CfScript Function Why are you declaring functions inside a loop? On Thu, Mar 26, 2015 at 1:59 PM, <[email protected] <mailto:[email protected]> > 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 -- 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 [email protected] <mailto:[email protected]> . To post to this group, send email to [email protected] <mailto:[email protected]> . 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 [email protected] <mailto:[email protected]> . To post to this group, send email to [email protected] <mailto:[email protected]> . Visit this group at http://groups.google.com/group/cfaussie. For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cfaussie. For more options, visit https://groups.google.com/d/optout.
