|
Anyone any idea why I am getting errors when
initializing my variables with "var" in cfscript?
Scripts that worked before now do not allow the var
keyword anymore...
I was getting this a couple of days ago, just
ignored it as I could not figure what in godsname was wrong. Now it's sort of
getting annoying, just started a complete new project from BLANK type in var and
get an error again..
Following is one of the codes that generate the
error.
--------
<cfscript>
var location = "<a href=""index.cfm"">Home</a> » <a href=""index.cfm?fuseaction=Search"">Search</a>"; var bAppend = false; if ( url.searchType IS "advanced" ) { location = location & " » <a href=""index.cfm?fuseaction=search&searchType=advanced"">Advanced</a>"; bAppend = true; } ................................more code </cfscript>
The error I get is:
just in time compilation error
Invalid parser construct found on line 3 at position 2. ColdFusion was looking at the following text: You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ |
