It wouldn't have been the quotes that caused the error but having an
expression in between the #.

#someVar + someOtherVar# will fail on CF5 but not on CF6+.

Give it a try, I don't have CF5 here at the moment but I think that I'm
right.

Adrian

-----Original Message-----
From: Martin Carroll [mailto:[EMAIL PROTECTED]
Sent: 14 June 2007 16:12
To: CF-Talk
Subject: Re: Invalid Parser Construct


Hi Adrian

Thanks for the input.

Your response got me thinking and the problem was that the "#Target1 *
multiplyBy#" was in quotes.  I had been making changes to the system and
previously it wasn't a calculation just an assignment (i.e. ="#Target1#").

So changing it to

<cfset reportArray[count][9]=#Target1# * #multiplyBy#>

worked in both versions of CF.

I now have to see what (if anything) the other changes I have made throw up
with regard to the CFMX7 v CF5 differences.

Thanks again.

Martin


>I'm not sure you could do evaluations like that in CF5...
>
>#Target1 * multiplyBy#
>
>Try...
>
><cfset reportArray[count][9] = Target1 * multiplyBy>
>
>Adrian
>
>-----Original Message-----
>From: Martin Carroll [mailto:[EMAIL PROTECTED]
>Sent: 14 June 2007 14:21
>To: CF-Talk
>Subject: Re: Invalid Parser Construct
>
>
>I have just found out that they are running CF Version 5!
>
>Martin
>
>> Martin


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281235
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to