try

If (not (StructKeyExists(application,'Loader') and IsObject(application.
Loader) and Debug eq False))

also you can change "and Debug eq False" to "and NOT Debug"


Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew
Scott
Sent: Tuesday, October 28, 2003 4:53 PM
To: CFAussie Mailing List
Subject: [cfaussie] CFScript weirdness


Evening People,

This maybe easy but I think I am missing something with the logic of a
cfscript piece of code.

In CFML it looks like this and works:

<cfif not (StructKeyExists(application,'Loader') and
IsObject(application. Loader) and Debug eq False)>

But when I translate this to CFScript:

If (not StructKeyExists(application,'Loader') and IsObject(application.
Loader) and Debug eq False)

I have tried what I think is every combo, but I know I am missing that
one that does work.

Anyone have any ideas.

Regards,
Andrew Scott




---
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/


---
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