Just to further this one on - 

I did a small test harness for this - and yeah, i'm not going nuts:

Watch what happens when:

--- myObj.cfc ---
<cfcomponent>

        <cfscript>
                instance = Structnew();
                instance.myVar = "";
        </cfscript>

        
        <cffunction name="getMyVar" access="public" returntype="string">
                <cfreturn instance.myVar>
        </cffunction>
</cfcomponent>
-----------------

--- index.cfm ---
<html>
<head>
<title></title>
</head>
<body>

        <cfscript>
                o = createObject("component", "myObj");         
        </cfscript>
        
        <cfoutput>
        <pre>
        [#o.getMyVar()#]
        </cfoutput>
        </pre>

</body>
</html>
-----------------

You end up with 

[
     ]

Is this some weird bug I'm not aware of?

TIA

Mark

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to