<cfscript>
    if (NOT StructKeyExists(SESSION.car, ATTRIBUTES.name)) {
        do stuff here
    }
    else
    {
        do other stuff here
    }
</cfscript>

The "else" is actually optional.  But I figured I'd throw it in as an
example.

Sharon
-----Original Message-----
From: Jon Tillman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, August 25, 2000 3:28 AM
Subject: CFSCRIPT question


>I have the following as cfscript:
>
>if (not(structKeyExists(session.cart, attributes.name)))
>
>I would like to use it as a CFIF statement. Any ideas how to go about
>constructing said cfif?
>
>--
>***********************************************
> Jon Tillman
> LINUX USER: #141163
> ICQ: 4015362
> http://www.eruditum.org
> [EMAIL PROTECTED]
>***********************************************
>Help Jon build a network!
>Looking for giveaway computers & parts
>Current Need: Tape Drive & PI/PII processors
>Email me to find out how you can help
>***********************************************
>
>---------------------------------------------------------------------------
---
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to