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
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:
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
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
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:
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
6 matches
Mail list logo