On 10/23/05, Andrew Scott <[EMAIL PROTECTED]> wrote:
> So I guess with all this talk I should just do this.
>
> <cfif userExists>
>   Return object
> <cfelse>
>   Return '' />
> </cfif>

And you'll need returntype="any" in your function (which removes type
checking but that probably doesn't matter in this case).

Then you can test isObject() on the returned value.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to