*sigh*

Thanks guys

The only other "Is" type function I used is IsDefined, which doesn't work
without the double quotes. So losing them for IsNumeric is a mite
confusing **(


> > -----Original Message-----
> > From: Andrew Dickinson [mailto:[EMAIL PROTECTED]
> > Sent: Monday, 18 August 2003 4:06 PM
> > To: CFAussie Mailing List
> > Subject: [cfaussie] IsNumeric limitations ?
> >=20
> >=20
> > I tried this code just now, and it does the opposite of what one would
> > expect.
> >=20
> > <CFIF NOT IsNumeric("Input1")><CFSET Input1 =3D '0'></CFIF>
> > #Input1#
> 
> This should be:
>  <CFIF NOT IsNumeric("#Input1#")><CFSET Input1 =3D '0'></CFIF>
> or
>  <CFIF NOT IsNumeric(Input1)><CFSET Input1 =3D '0'></CFIF>=20
> 
> The way you have it you aren't looking at a variable called Input1, =
> you're looking at a string containing 'Input1'.
> 
> Regards
> 
> Darren Tracey

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to