Don't you have to argue complete statements in if statements?

like....
<cfif (#LCase(ListGetAt(GetFontFamily.sti,1,'.'))# CONTAINS 'aachen')
 OR
(#LCase(ListGetAt(GetFontFamily.sti,1,'.'))# CONTAINS 'adelon')>

just off the top of my head.

Tony


-----Original Message-----
From: phumes1 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 8:58 AM
To: CF-Talk
Subject: Re: <CFIF statement


Hi,

I have a problem with the syntax below.

This works:

<cfif #LCase(ListGetAt(GetFontFamily.sti,1,'.'))# CONTAINS 'aachen' >
        ...code...
<cfelse>
        ...code...
</cfif>


This does not:

<cfif #LCase(ListGetAt(GetFontFamily.sti,1,'.'))# CONTAINS 'aachen' O
R
'adelon'>
        ...code...
<cfelse>
        ...code...
</cfif>
_____________________________________________________________________
_
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to