Re: checking for vars

2005-04-08 Thread daniel kessler
point well taken. thanks! >It's good practice to CFPARAM all of your URL and FORM variables into >existence before you try using them. Then you can avoid one of your Ifs >entirely... > > >do something here > > >-Justin ~| Find

RE: checking for vars

2005-04-07 Thread Justin D. Scott
> It seems to me, that to use a url variable (or any type > really) that I have to check for the variable before I > can use it, otherwise I receive an error saying that > it doesn't exist. It's good practice to CFPARAM all of your URL and FORM variables into existence before you try using them.

Re: checking for vars

2005-04-07 Thread Douglas Knudsen
CF uses the 'short circuit' approach to evaluating AND. So, when CF evals (foo AND goo) if foo is false, no need to look at goo at all. D On Apr 7, 2005 8:09 AM, daniel kessler <[EMAIL PROTECTED]> wrote: > > That worked, but I'm surprised that it worked. I guess it checks one, then > the other

Re: checking for vars

2005-04-07 Thread daniel kessler
That worked, but I'm surprised that it worked. I guess it checks one, then the other. thanks! > >do something here > > > >On Apr 7, 2005 11:59 AM, Daniel Kessler <[EMAIL PROTECTED]> wrote: >> ~| Discover CFTicket - The leadin

Re: checking for vars

2005-04-07 Thread JediHomer
do something here On Apr 7, 2005 11:59 AM, Daniel Kessler <[EMAIL PROTECTED]> wrote: > It seems to me, that to use a url variable (or any type really) that > I have to check for the variable before I can use it, otherwise I > receive an error saying that it doesn't exist. In the example,

Re: checking for vars

2005-04-07 Thread JediHomer
do something here On Apr 7, 2005 11:59 AM, Daniel Kessler <[EMAIL PROTECTED]> wrote: > It seems to me, that to use a url variable (or any type really) that > I have to check for the variable before I can use it, otherwise I > receive an error saying that it doesn't exist. In the example, I > c

RE: checking for vars

2005-04-07 Thread Robertson-Ravo, Neil (RX)
Yes you will need to do this... (or set a cfparam default) You can also perform... Do this Do that -Original Message- From: Daniel Kessler [mailto:[EMAIL PROTECTED] Sent: 07 April 2005 11:59 To: CF-Talk Subject: checking for vars It seems to me, that to use a url variable (o