Re: CFSCRIPT syntax

2003-06-20 Thread Calvin Ward
Walker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 10:23 PM Subject: RE: CFSCRIPT syntax Hi Mark, Just to add to Raymond's comments, I think the confusion about hashes and quotes comes about from CF tags, where you DO need them when you are passing a numeric

Re: CFSCRIPT syntax

2003-06-20 Thread Matthew Walker
Do not enclose complex expressions, such as 1 + 2, with pound signs. Curiously enough you can do this with CFMX. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

RE: CFSCRIPT syntax

2003-06-20 Thread DURETTE, STEVEN J (AIT)
in. Steve -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 7:31 AM To: CF-Talk Subject: Re: CFSCRIPT syntax I can add the following snippet to the conversation: Guidelines for using pound signs Follow these guidelines when using pound signs: Use

CFSCRIPT syntax

2003-06-19 Thread Mark Leder
Hi All, I'm going through some code and converting CFSET commands to CFSCRIPT -- a couple of syntax questions: 1) Where I have a cfset SESSION.ecom.storeVar = SESSION.ecom.s Should I surround the var with quotes or not? Ie: SESSION.ecom.storeVar = SESSION.ecom.s; 2) Similarly, where I

RE: CFSCRIPT syntax

2003-06-19 Thread Raymond Camden
1) Where I have a cfset SESSION.ecom.storeVar = SESSION.ecom.s Should I surround the var with quotes or not? Ie: SESSION.ecom.storeVar = SESSION.ecom.s; No. 2) Similarly, where I have a cfset SESSION.ecom.admin = #URL.admin# Should I surround the var with quotes or not? Ie:

RE: CFSCRIPT syntax

2003-06-19 Thread Matthew Walker
Hi Mark, Just to add to Raymond's comments, I think the confusion about hashes and quotes comes about from CF tags, where you DO need them when you are passing a numeric or a variable as an attribute, i.e. cfquery datasource=#mydsn# maxrows=#maxrows# In any other situation, you only need