Thanks. See below

 

-----Original Message-----
From: Matt Quackenbush [mailto:quackfu...@gmail.com] 
Sent: Friday, November 15, 2013 9:45 AM
To: cf-talk
Subject: Re: cfscript assistance


On Fri, Nov 15, 2013 at 9:35 AM, Stephens, Larry V <steph...@iu.edu> wrote:

>
>
> <cfscript>
>         for ( x=1; x<=GetB.Recordcount; x=x+1) {
>                 if GetB.bcode[x] NEQ xcampus {
>
> This throws an invalid construct error:
> ColdFusion was looking at the following text:
>
> GetB.bcode
>
> ? What am I missing?
>
>

if ( GetB.bcode[x] != xcampus )
{
    // do something
}

I wondered about != vs NEQ but it throws the same error. At 
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=CFScript_02.html
 the example uses NEQ inside cfscript

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357077
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to