I have found that if you try to call a user defined function inside a CF
function, that it works in CF5 but in CFMX you get an error.

Example:

<CFSet x = val(myUDF('this'))>

This will work in CF5 but not CFMX. The error occurs on the CFInclude line
that calls this template. The message suggests that the method myUDF does
not exist.

It will work find if I change this to:
<CFSet y = myUDF('this')>
<CFSet x = val(y)>

I have not seen this discussed anywhere in the Macromedia forums or in the
release notes. The utility that checks your CF5 code for problems does not
flag it.

Anyone have some insight on this one?

Thanks,

Chris

------------------------------------
Christopher P. Maher, FCAS, MAAA
Modotech, Inc.
[EMAIL PROTECTED]
http://www.modotech.com

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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