Do you think preservesinglequotes() is actually meaningful outside a
cfquery? If you inspect the result of the function I think you'll see the
same thing with or without....
----- Original Message -----
From: "S. Isaac Dealey" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 7:21 AM
Subject: unknown parser error from UDF
> Using
>
> CF 5
> Win2K Server
> IIS 5
>
> I have the following in a template
>
> <cfscript>
> function dbconcatenate() {
> return preservesinglequotes(ArrayToList(arguments," + "));
> }
> request.tapi.tStor("dbconcatenate","db.concatenate");
> </cfscript>
>
> The cfscript block contains several other functions as well, however, the
> odd thing is that no matter what I comment out, unless I comment out the
> _entire_ template, CF Studio (4.5) reports the unknown parser error. CF
> Server on the other hand has no problem with the template as long as I
> comment out the preservesinglequotes() function -- i.e. no problem with
> this:
>
> return /*preservesinglequotes(*/ArrayToList(arguments," + ")/*)*/;
>
> Anybody have any ideas?
>
> s. isaac dealey 954-776-0046
>
> new epoch http://www.turnkey.to
>
> lead architect, tapestry cms http://products.turnkey.to
>
> tapestry api is opensource http://www.turnkey.to/tapi
>
> certified advanced coldfusion 5 developer
> http://www.macromedia.com/v1/handlers/index.cfm?ID=21816
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4