Nope

If "myVar" is not defined, the function will error because your using the 
variable in an output fashion with the #myVar#

Steve

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Cameron
Sent: Wednesday, December 01, 2004 7:27 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Using IIF

> IIF(isDefined("myVar"), "'the value myVar is '" & "myVar", "''")

what about:
IIF(isDefined("myVar"), de("the value myVar is #myVar#"), de("''"))

Adam

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to