Subject: RE: IsDefined('') v. cfset
So would cfparam be cheaper than just doing a cfset anyway - say for an
Application variable whose value is constant?
-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED]]
Sent: 11 April 2001 17:27
To: CF-Talk
Subject: RE: IsDefined('') v. cfset
Thanks
-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2001 11:01
To: CF-Talk
Subject: RE: IsDefined('') v. cfset
I'm not sure. I understood that for such variables you should use cfparam,
but I guess in reality there would probably be little
ference the individual variables throughout your application
with #application.globalVars.dsn#.
This can be made even faster with the use of cfscript too.
jon
- Original Message -
From: "Bill Davies" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday
This doesn't answer your question directly, but if you are really going to
test for the existence of a variable, and create it if it doesn't exist, I'd
suggest using cfparam which will accomplish both of those things in one
step. I only used IsDefined if I want to check for the existence of a
To: CF-Talk
Subject: RE: IsDefined('') v. cfset
This doesn't answer your question directly, but if you are really going to
test for the existence of a variable, and create it if it doesn't exist, I'd
suggest using cfparam which will accomplish both of those things in one
step. I only used IsDefined
So would cfparam be cheaper than just doing a cfset anyway - say for an
Application variable whose value is constant?
-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED]]
Sent: 11 April 2001 17:27
To: CF-Talk
Subject: RE: IsDefined('') v. cfset
Yup, CFPARAMs in your
6 matches
Mail list logo