********************************************************************** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message **********************************************************************
It's alright I've seen the error, it's been a very long day. -----Original Message----- From: Adams, Stephen [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:55 To: CF-Talk Subject: error with a piece of cfscript code and I can't see what's wrong? ********************************************************************** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ********************************************************************** Can anyone see what's wrong with this: <cfscript> If (NOT IsDefined("Form.business_types") AND (IsDefined("Form.residents")) { session.ResidentsOnly = yes; } Else If (NOT IsDefined("Form.residents")) AND (IsDefined("Form.business_type")) { session.BusinessOnly = yes; session.ListOfBusiness = "#Form.business_types#"; } Else { session.ResidentsAndBusiness = yes; session.ListOfBusiness = "#Form.business_types#"; } </cfscript> This is the error I keep getting: Error Diagnostic Information Just in time compilation error Invalid parser construct found on line 67 at position 79. ColdFusion was looking at the following text:{Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFSCRIPT tag occupying document position (66:3) to (66:12). ********************************************************************** Westminster City Council switchboard: +44 20 7641 6000 ********************************************************************** This E-Mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this E-mail or any part of it, please telephone Westminster City Council immediately on receipt. You should not disclose the contents to any other person or take copies. ********************************************************************** ______________________________________________________________________ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists