On Mon, Sep 7, 2009 at 8:43 PM, Matt Woodward <[email protected]> wrote: > Define what you mean by "null value." Since when did Adobe CF have > nulls?
Here's a concrete example: <cffunction name="foo" returntype="any"> <!--- no return at all ---> </cffunction> <cfset request.controller = foo() /> <cfif structKeyExists(request,"controller")> <!--- should return false ---> FWIW, assigning a (Java) null to a variable in CFML has made it 'disappear' ever since CFMX 6.0 - and both structKeyExists() and isDefined() yield false on it. > Also it seems this wasn't clear before--where it's blowing up > arguments.cfc is not a CFC or a struct, it's a zero-length string. Sounds like OpenBD is somehow treating the null-value return / assignment as storing an empty string in the variable - which is certainly not the correct behavior. -- Sean A Corfield -- (904) 302-SEAN Railo Technologies US -- http://getrailo.com/ An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
