At 11:33 AM 2/26/2002, you wrote:
>to populate this struct, but my UDF does not continue looping after the
>first recursion call.
Oh man, I spent most of yesterday debugging a seemingly simple recursive
UDF, I was so sure it was all correct, just couldn't work out what was
going on. Until I finally realised, that I hadn't created my "local"
variables as
var localVariable = "";
but instead had just done
localVariable = "";
causing, of course, localVariable to in fact be a global variable, so of
course, my recursive calls were thoroughly munging what I thought were
untouchable local variables, causing all manner of mayhem.
Oh for compiler warnings :-)
James Sleeman
Innovative Media Ltd
Phone: (03) 377 6262
http://www.websolutions.co.nz/
CAUTION: The information contained in this email message is confidential
and may be legally privileged. If the reader of this message is not the
intended recipient you are notified that any use, dissemination,
distribution or reproduction of this message is prohibited. If you have
received this message in error please notify the sender immediately and
destroy the original message and any attachments.
Views expressed in this communication may not be those of Innovative Media Ltd.
______________________________________________________________________
Why Share?
Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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