Hi!

I am trying to declare an UDF in a custom tag:

<CFIF ThisTag.ExecutionMode Is "start">
    <cfscript>
            function myfunc() { return true; }
    </cfscript>
.. etc.
</CFIF>

This throws "The routine test has been declared twice in different
templates".

If the tag has no end tag, no error is thrown; I need an end tag, though,
because there are child tags.

Any ideas?

Thanks in advance

Alexander
______________________________________________________________________
Dedicated Windows 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=coldfusiona
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

Reply via email to